diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-03-07 16:25:25 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-03-07 16:25:25 (GMT) |
commit | cc43fb4bdfb8b0bc4d6289f1779d52d33efa351e (patch) | |
tree | 9424c47af27b79a5ea2a989b6f2488e72ca9facf | |
parent | b366cda5e0fe103085e0470516984a5679890705 (diff) | |
download | cpython-cc43fb4bdfb8b0bc4d6289f1779d52d33efa351e.zip cpython-cc43fb4bdfb8b0bc4d6289f1779d52d33efa351e.tar.gz cpython-cc43fb4bdfb8b0bc4d6289f1779d52d33efa351e.tar.bz2 |
Blocked revisions 78762 via svnmerge
........
r78762 | mark.dickinson | 2010-03-07 16:24:45 +0000 (Sun, 07 Mar 2010) | 8 lines
Issue #1530559: When packing a non-integer with any integer conversion
code using struct.pack, attempt to convert to an integer first using
the argument's __int__ method (if present). Also raise a
DeprecationWarning for any such usage of __int__.
This fixes a regression from 2.6, where some (but not all) integer
conversion codes already used __int__.
........
0 files changed, 0 insertions, 0 deletions