]> granicus.if.org Git - python/commit
Strange control flow in PyInt_AsLong. When nb_int is called inside
authorThomas Heller <theller@ctypes.org>
Thu, 20 Feb 2003 20:32:11 +0000 (20:32 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 20 Feb 2003 20:32:11 +0000 (20:32 +0000)
commit850566b644142f8698d691782e7ef3fa8d7a6cf8
treeb850dcff4a7cee489e99e50f639506d7cafeaa5b
parent81e26590e4881d8271945e7b305893312326d0ef
Strange control flow in PyInt_AsLong.  When nb_int is called inside
the PyInt_AsLong function, and this returns a long, the value is first
retrieved with PyLong_AsLong, but afterwards overwritten by a call to
PyInt_AS_LONG.

Fixes SF #690253.
Objects/intobject.c