From: SourceForge.net <no...@so...> - 2006-11-27 01:52:08
|
Bugs item #1603312, was opened at 2006-11-26 18:55 Message generated for change (Settings changed) made by fwierzbicki You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1603312&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Core Group: targeted for 2.2beta2 Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Charles Groves (cgroves) Assigned to: Frank Wierzbicki (fwierzbicki) Summary: subclasses of int raise a TypeError when given large value Initial Comment: A subclass of int constructed with a value larger than sys.maxint raise a TypeError about a string being poorly formatted. It should be an overflow error as a regular int does. This causes ints in test_descr to fail. See PyInteger.java#int_new ---------------------------------------------------------------------- Comment By: Frank Wierzbicki (fwierzbicki) Date: 2006-11-26 20:27 Message: Logged In: YES user_id=193969 Originator: NO I did the initial implementation of the int/long unifications, so I'll take a look at this bug. Hopefully it'll be a quick fix. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=1603312&group_id=12867 |