Mark Dickinson <[email protected]> added the comment:
The wrong location for the DeprecationWarnings was also fixed in trunk in
r78690. I've backported the fix to release26-maint in r79834.
I don't dare mess further with the warnings in a bugfix release; as Georg
points out, the issues are fixed in trunk. BTW, one of the 2.6 issues (again
fixed in trunk) that wasn't mentioned above is that some packs produce *two*
overflow-related warnings:
>>> import struct
>>> struct.pack('<L', -1)
__main__:1: DeprecationWarning: struct integer overflow masking is deprecated
__main__:1: DeprecationWarning: 'L' format requires 0 <= number <= 4294967295
'\xff\xff\xff\xff'
----------
nosy: +mark.dickinson
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5198>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com