Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment:

LLP64 is the model chosen by the Microsoft compiler: sizeof(long)==4.

I suppose someone already considered to change PyIntObject and use size_t 
values, but IMO it would have broken too many extensions: the pattern "if 
(PyInt_Check(obj)) value=PyInt_AS_LONG(obj);" is very very common.

----------

_______________________________________
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