[Python-3000] current status

Thomas Heller theller at ctypes.org
Thu Aug 30 18:10:16 CEST 2007


Neal Norwitz schrieb:
> * On Win64, there's this assert:
>    SystemError: Objects\longobject.c:412: bad argument to internal function
> I don't see how it's getting triggered based on the traceback though

Python/getargs.c, line 672:
		ival = PyInt_AsSsize_t(arg);

calls Objects/longobject.c PyLong_AsSsize_t(), but that accepts only
PyLong_Objects (in contrast to PyLong_AsLong which calls nb_int).

Thomas



More information about the Python-3000 mailing list