Bugs item #488480, was opened at 2001-12-03 09:14 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=488480&group_id=5470 Category: Python Interpreter Core Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Tim Peters (tim_one) Summary: integer multiply to return -max_int-1 Initial Comment: integer multiplication never returns '-sys.max_int-1' but signals an OverflowError instead (or in Python 2.2b1 returns a long). ---------------------------------------------------------------------- >Comment By: Tim Peters (tim_one) Date: 2001-12-04 15:06 Message: Logged In: YES user_id=31435 Actually, it *can* return -sys.maxint-1, but only if the inputs are exactly right. The overflow checking here was a mess; replaced by a vastly simpler method, in Lib/test/test_types.py; new revision: 1.22 Objects/intobject.c; new revision: 2.79 ---------------------------------------------------------------------- Comment By: Armin Rigo (arigo) Date: 2001-12-03 09:23 Message: Logged In: YES user_id=4771 (sorry, I was not logged in when I submitted this one) ---------------------------------------------------------------------- Comment By: Tim Peters (tim_one) Date: 2001-12-03 09:22 Message: Logged In: YES user_id=31435 Confirmed, and assigned to me. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=488480&group_id=5470
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4