Hello,

This is the problem I reported earlier (I still use Python 2.3.4):

$ python
Python 2.3.4 (#1, Feb  2 2005, 12:11:53)
[GCC 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> x=0xb77e3fcc
<stdin>:1: FutureWarning: hex/oct constants > sys.maxint will return 
positive values in Python 2.4 and up
 >>> y=0xb77e3fccL

Now if we continue with this:

 >>> print '%x' % x
__main__:1: FutureWarning: %u/%o/%x/%X of negative int will return a 
signed string in Python 2.4 and up
b77e3fcc
 >>> print '%x' % y
b77e3fcc

We can replicate the new problem.

Dennis



David Beazley wrote:

>I can't replicate any of the warning messages you report--even with Python 2.3
>Are you running Python in some special mode or with special command
>line options?
>
>Cheers,
>Dave
>
>  
>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ply-hack" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ply-hack?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to