On Aug 15, 2006, at 3:16 AM, Martin v. Löwis wrote:
>
> Where does it assume that it is safe to case ssize_t -> long?
> That would be a bug.
Is this a bug?
file_readinto(PyFileObject *f, PyObject *args)
{
...
Py_ssize_t ndone, nnow;
...
return PyInt_FromLong((long)ndone);
}
See Objects/fileobject.c (revision 51420).
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com