Re: [PyQt] Strange shadowing of hex() function by PyQt4.QtCore

2008-08-08 Thread Mark Summerfield
On 2008-08-08, Boris Barbour wrote: Hi, Importing PyQt4.QtCore seems to alter or shadow the builtin hex() function. I'm afraid I haven't tracked things down further - I just learnt the hard way to import instead of from import *. However, I'm not sure the clash is intended, so I'm reporting

Re: [PyQt] Strange shadowing of hex() function by PyQt4.QtCore

2008-08-08 Thread Phil Thompson
On Fri, 8 Aug 2008 08:02:55 +0100, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-08-08, Boris Barbour wrote: Hi, Importing PyQt4.QtCore seems to alter or shadow the builtin hex() function. I'm afraid I haven't tracked things down further - I just learnt the hard way to import instead of

Re: [PyQt] Strange shadowing of hex() function by PyQt4.QtCore

2008-08-08 Thread İsmail Dönmez
On Fri, Aug 8, 2008 at 10:02, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-08-08, Boris Barbour wrote: Hi, Importing PyQt4.QtCore seems to alter or shadow the builtin hex() function. I'm afraid I haven't tracked things down further - I just learnt the hard way to import instead of from

[PyQt] Strange shadowing of hex() function by PyQt4.QtCore

2008-08-07 Thread Boris Barbour
Hi, Importing PyQt4.QtCore seems to alter or shadow the builtin hex() function. I'm afraid I haven't tracked things down further - I just learnt the hard way to import instead of from import *. However, I'm not sure the clash is intended, so I'm reporting it. Best regards, Boris ipython