[Python-checkins] r77235 - python/branches/release26-maint
mark.dickinson
python-checkins at python.org
Sat Jan 2 15:46:08 CET 2010
Author: mark.dickinson
Date: Sat Jan 2 15:46:08 2010
New Revision: 77235
Log:
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.
........
Modified:
python/branches/release26-maint/ (props changed)
More information about the Python-checkins
mailing list