[Python-Dev] New PEP: Using ssize_t as the index type (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Dec 30 10:58:16 CET 2005
- Previous message: [Python-Dev] New PEP: Using ssize_t as the index type
- Next message: [Python-Dev] Bug in Py_InitModule4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Travis E. Oliphant wrote:
Sounds wonderful. Would love to see this in Python 2.5. This will fix important 64-bit issues. Perhaps someone could explain to me what the difference between Pyssizet and Pyintptrt would be? Is this not a satisfactory Pyssizet already?
Practically, yes. Conceptually, intptr_t and size_t are different things: sizeof(void*) might differ from sizeof(size_t) (e.g. when you have segment and offset in pointers). I believe in flat-address space machines, they are always the same.
Regards, Martin
- Previous message: [Python-Dev] New PEP: Using ssize_t as the index type
- Next message: [Python-Dev] Bug in Py_InitModule4
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]