Re: [Python-Dev] 64-bit sequence and buffer protocol

2005-03-29 Thread Martin v. Löwis
Travis Oliphant wrote: What is the opinion of people on this list about how to fix the problem. I believe Martin was looking at the problem and had told Perry Greenfield he was "fixing it." Apparently at the recent PyCon, Perry and he talked and Martin said the problem is harder than he had

[Python-Dev] 64-bit sequence and buffer protocol

2005-03-29 Thread Travis Oliphant
I'm posting to this list to again generate open discussion on the problem in current Python that an int is used in both the Python sequence protocol and the Python buffer protocol. The problem is that a C-int is typically only 4 bytes long while there are many applications (mmap for example),