Author: neal.norwitz
Date: Fri Aug 31 07:32:33 2007
New Revision: 57813
Modified:
python/branches/py3k/Python/getargs.c
Log:
Ugh, hopefully I can get this right. The code is only compiled on Win64
Modified: python/branches/py3k/Python/getargs.c
==============================================================================
--- python/branches/py3k/Python/getargs.c (original)
+++ python/branches/py3k/Python/getargs.c Fri Aug 31 07:32:33 2007
@@ -672,7 +672,7 @@
return converterr("integer<n>", arg, msgbuf, bufsize);
iobj = PyNumber_Index(arg);
if (iobj != NULL)
- ival = PyNumber_AsSsize_t(arg);
+ ival = PyInt_AsSsize_t(arg);
if (ival == -1 && PyErr_Occurred())
return converterr("integer<n>", arg, msgbuf, bufsize);
*p = ival;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins