Mercurial > cpython-lru_cache-weakref
diff Modules/selectmodule.c @ 26153:6078abc69036 legacy-trunk
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.
| author | Walter Dörwald <walter@livinglogic.de> |
|---|---|
| date | Tue, 12 Nov 2002 11:42:20 +0000 |
| parents | d4ff9841417a |
| children | e270c0d41a05 |
line wrap: on
line diff
