- 13 Feb, 2008 5 commits
-
-
Thomas Heller authored
-
Thomas Heller authored
-
Brett Cannon authored
works. Thanks to Jeroen Ruigrok van der Werven for the fix.
-
Jeffrey Yasskin authored
./python.exe -m timeit -s 'from fractions import Fraction; f = Fraction(3, 2)' 'isinstance(3, Fraction); isinstance(f, Fraction)' from 12.3 usec/loop to 3.44 usec/loop and ./python.exe -m timeit -s 'from fractions import Fraction' 'Fraction(3, 2)' from 48.8 usec to 23.6 usec by avoiding genexps and sets in __instancecheck__ and inlining the common case from __subclasscheck__.
-
Georg Brandl authored
result on Windows.
-
- 12 Feb, 2008 10 commits
-
-
Mark Dickinson authored
test_fractions.py. This should have been part of the name change from Rational to Fraction.
-
Mark Dickinson authored
classmethods instead of staticmethods.
-
Mark Dickinson authored
Remove Fraction.to_continued_fraction and Fraction.from_continued_fraction
-
Raymond Hettinger authored
-
Martin v. Löwis authored
implements the chunked encoding incorrectly. Will backport to 2.5.
-
Kurt B. Kaiser authored
-
Martin v. Löwis authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
- 11 Feb, 2008 8 commits
-
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Lars Gustäbel authored
-
Raymond Hettinger authored
-
Mark Dickinson authored
Fraction(1, 2) instead of Fraction(1,2).
-
Christian Heimes authored
-
- 10 Feb, 2008 11 commits
-
-
Mark Dickinson authored
with numbers.Rational. See issue #1682 for related discussion.
-
Raymond Hettinger authored
-
Mark Dickinson authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
Mark Dickinson authored
-
Eric Smith authored
-
Mark Dickinson authored
of subclasses of Rational. (See discussion in issue #1682.)
-
Nick Coghlan authored
-
Raymond Hettinger authored
-
Eric Smith authored
_PyLong_Format. In longobject.c, changed long_format to _PyLong_Format. In intobject.c, changed uses of PyOS_snprintf to _PyInt_Format instead. _PyLong_Format is similar to py3k's routine of the same name, except it has 2 additional parameters: addL and newstyle. addL was existing in long_format, and controls adding the trailing "L". This is unneeded in py3k. newstyle is used to control whether octal prepends "0" (the pre-2.6 style), or "0o" (the 3.0 sytle). PyNumber_ToBase is needed for PEP 3127 (Integer Literal Support and Syntax) and PEP 3101 (Advanced String Formatting). This changeset does not need merging into py3k.
-
- 09 Feb, 2008 6 commits
-
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Christian Heimes authored
Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too Added -d option to build.bat (same as -c Debug) and fixed warning about /build option Updated Windows related readme.txt files
-
Nick Coghlan authored
Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5)
-