Le Tuesday 13 January 2009 21:33:28 Martin v. Löwis, vous avez écrit : > I would do this through a converter function (O&), but yes, > making it private to the io library sounds about right. Who > else would benefit from it?
On Linux, mmap() prototype is: void *mmap(void *start, size_t length, int prot, int flags, int fd, off_t offset); mmapmodule.c uses "Py_ssize_t" type and _GetMapSize() private function to convert the long integer to the Py_ssize_t type. -- Victor Stinner aka haypo http://www.haypocalc.com/blog/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com