[ python-Bugs-1458220 ] sys.maxint should be mentioned in explanation of int type

SourceForge.net noreply at sourceforge.net
Sat Mar 25 11:42:41 CET 2006


Bugs item #1458220, was opened at 2006-03-25 11:42
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1458220&group_id=5470

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: Documentation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Christoph Zwerschke (cito)
Assigned to: Nobody/Anonymous (nobody)
Summary: sys.maxint should be mentioned in explanation of int type

Initial Comment:
The Lib Reference says in section 2.3.4 (Numeric Types
-- int, float, long, complex):

"Plain integers (also just called integers) are
implemented using long in C, which gives them at least
32 bits of precision."

I think it would be helpful to insert the following
sentence here: "The maximum value on your platform is
sys.maxint."

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1458220&group_id=5470


More information about the Python-bugs-list mailing list