chiark / gitweb /
key: Use convulong instead of PyLong_AsUnsignedLong.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 01:20:29 +0000 (01:20 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 01:20:29 +0000 (01:20 +0000)
Python 2.4's implementation of PyLong_AsUnsignedLong handles integers
correctly; but 2.3 insists on having a real `long' object.  Our
`convulong' function handles these, and also stranger things like MPs.
Use it.


No differences found