Author: neal.norwitz
Date: Wed Aug  8 06:36:17 2007
New Revision: 56819

Modified:
   python/branches/py3k-struni/Modules/_fileio.c
Log:
Py_ssize_t requires "n" format, this fixes most of the 64-bit only failures.

Modified: python/branches/py3k-struni/Modules/_fileio.c
==============================================================================
--- python/branches/py3k-struni/Modules/_fileio.c       (original)
+++ python/branches/py3k-struni/Modules/_fileio.c       Wed Aug  8 06:36:17 2007
@@ -438,7 +438,7 @@
        if (!self->readable)
                return err_mode("reading");
 
-       if (!PyArg_ParseTuple(args, "|i", &size))
+       if (!PyArg_ParseTuple(args, "|n", &size))
                return NULL;
 
         if (size < 0) {
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to