Issue 3086: sys.maxsize not available by using the latest Win32 build (original) (raw)

Issue3086

Created on 2008-06-12 00:43 by giampaolo.rodola, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg68039 - (view) Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) Date: 2008-06-12 00:43
By using: http://www.python.org/dev/daily-msi/python-2.6.14041.msi C:\>C:\python26\python Python 2.6a3 (r26a3:62864, May 9 2008, 14:16:26) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.maxsize Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'maxsize' >>>
msg68056 - (view) Author: Tim Golden (tim.golden) * (Python committer) Date: 2008-06-12 07:57
Giampaolo Rodola' wrote: > New submission from Giampaolo Rodola' <billiejoex@users.sourceforge.net>: > > By using: > http://www.python.org/dev/daily-msi/python-2.6.14041.msi > > > C:\>C:\python26\python > Python 2.6a3 (r26a3:62864, May 9 2008, 14:16:26) [MSC v.1500 32 bit > (Intel)] on > win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> import sys >>>> sys.maxsize > Traceback (most recent call last): > File "", line 1, in > AttributeError: 'module' object has no attribute 'maxsize' It's there in a trunk build Python 2.6a3+ (trunk:64120:64164M, Jun 12 2008, 08:49:20) Type "help", "copyright", "credits" or "license" for more >>> import sys [34171 refs] >>> sys.maxsize 2147483647 [34173 refs] >>>
msg68057 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-06-12 12:56
I just checked that sys.maxsize was added May 20, so you just need a newer build.
History
Date User Action Args
2022-04-11 14:56:35 admin set github: 47336
2008-06-12 13:03:06 benjamin.peterson set resolution: out of date
2008-06-12 12:56:43 gpolo set status: open -> closednosy: + gpolomessages: +
2008-06-12 07:58:07 tim.golden set nosy: + tim.goldenmessages: +
2008-06-12 00:43:51 giampaolo.rodola create