This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: sys.maxsize not available by using the latest Win32 build
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: giampaolo.rodola, gpolo, tim.golden
Priority: normal Keywords:

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 "<stdin>", line 1, in <module>
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 "<stdin>", line 1, in <module>
> AttributeError: 'module' object has no attribute 'maxsize'

It's there in a trunk build

<dump>

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]
>>>

</dump>
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:35adminsetgithub: 47336
2008-06-12 13:03:06benjamin.petersonsetresolution: out of date
2008-06-12 12:56:43gpolosetstatus: open -> closed
nosy: + gpolo
messages: + msg68057
2008-06-12 07:58:07tim.goldensetnosy: + tim.golden
messages: + msg68056
2008-06-12 00:43:51giampaolo.rodolacreate