Martin v. Löwis <mar...@v.loewis.de> added the comment:

On Win64, the long type is 32-bit; the compiler does not support any other 
mode. So the question "whether another memory model could have been selected 
during compilation" must be answered as "no, the compiler does not support 
multiple memory models".

We could have chosen to not use long for ob_ival. However, that would have 
cause a massive API change, as functions such as PyLong_AsLong either would 
have to change their return type, or start raising exceptions even for exact 
int objects.

In Python 3, this issue is fixed as the int type has no range constraint 
anymore.

----------
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13965>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to