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.

Author ocean-city
Recipients amaury.forgeotdarc, ocean-city
Date 2009-06-26.01:00:37
SpamBayes Score 3.5956294e-08
Marked as misclassified No
Message-id <1245978041.38.0.30815646392.issue6344@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't know what mf.read(-1) should do
I'm not sure neither.

I think the problem is that mmap uses size_t as length, but uses
Py_ssize_t for PyArg_ParseTuple. (PyArg_ParseTuple doesn't support
size_t) I think this discrepancy should be fixed.

If mmap should use size_t because it should cover all possible memory
region which size_t can represent but Py_ssize_t cannot, maybe should
PyArg_ParseTuple support size_t?
History
Date User Action Args
2009-06-26 01:00:41ocean-citysetrecipients: + ocean-city, amaury.forgeotdarc
2009-06-26 01:00:41ocean-citysetmessageid: <1245978041.38.0.30815646392.issue6344@psf.upfronthosting.co.za>
2009-06-26 01:00:39ocean-citylinkissue6344 messages
2009-06-26 01:00:38ocean-citycreate