]> granicus.if.org Git - python/commit
Use PyInt_AsLong instead of PyInt_AS_LONG after the call to
authorWalter Dörwald <walter@livinglogic.de>
Tue, 12 Nov 2002 11:42:20 +0000 (11:42 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 12 Nov 2002 11:42:20 +0000 (11:42 +0000)
commit08c4cc41276f0c6f17f304ae65bd3fa35079e526
tree1d8694d82b41ac8387a709c95edee3cfba972e85
parent678fc1ee7df0932a6c65d3f98a510d3af1f6a8d0
Use PyInt_AsLong instead of PyInt_AS_LONG after the call to
PyNumber_Int, because now PyNumber_Int might return a long,
and PyInt_AsLong can handle that, whereas PyInt_AS_LONG can't.

This closes SF bug #629989.
Modules/selectmodule.c