]> granicus.if.org Git - python/commit
Fix SF bug #683467, 'int' ability to generate longs not inherited
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 10 Feb 2003 02:12:43 +0000 (02:12 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 10 Feb 2003 02:12:43 +0000 (02:12 +0000)
commitde8b94c3e1154eb7778a6d5729129b6a57c365fb
tree2effb80775d5abf238626f99d062acae6ceb5438
parent9caf9c040e4cf176eb926a077ae7bcdb6550160b
Fix SF bug #683467, 'int' ability to generate longs not inherited

When subclassing from an int but not overriding __new__,
long values were not converted properly.  Try to convert
longs into an int.
Lib/test/test_descr.py
Misc/NEWS
Objects/intobject.c