From: Mark Dickinson Date: Sat, 2 Jan 2010 14:46:08 +0000 (+0000) Subject: Blocked revisions 77234 via svnmerge X-Git-Tag: v2.6.5rc1~205 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e560d75a2a992d8a3748b3bdb4b5fd5357aa8f35;p=thirdparty%2FPython%2Fcpython.git Blocked revisions 77234 via svnmerge ........ r77234 | mark.dickinson | 2010-01-02 14:45:40 +0000 (Sat, 02 Jan 2010) | 7 lines Refactor some longobject internals: PyLong_AsDouble and _PyLong_AsScaledDouble (the latter renamed to _PyLong_Frexp) now use the same core code. The exponent produced by _PyLong_Frexp now has type Py_ssize_t instead of the previously used int, and no longer needs scaling by PyLong_SHIFT. This frees the math module from having to know anything about the PyLong implementation. ........ ---