- 15 Ock, 2008 17 kayıt (commit)
-
-
Amaury Forgeot d'Arc yazdı
Not sure if these are the correct values, but save_stdout has to be set before its usage...
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Refactor if/elif chain for clarity and speed. Remove dependency on subclasses having to implement _empty and _full.
-
Guido van Rossum yazdı
exec call and when creating a recursive instance.
-
Andrew M. Kuchling yazdı
The duplication is intentional -- this paragraph is in a section describing additions to the sys module, and there's a later section that mentions the switch. I think most people scan the what's-new and don't read it in detail, so a bit of duplication is OK.
-
Jeffrey Yasskin yazdı
precision. This has been discussed at http://bugs.python.org/issue1682. It's useful primarily for teaching, but it also demonstrates how to implement a member of the numeric tower, including fallbacks for mixed-mode arithmetic. I expect to write a couple more patches in this area: * Rational.from_decimal() * Rational.trim/approximate() (maybe with different names) * Maybe remove the parentheses from Rational.__str__() * Maybe rename one of the Rational classes * Maybe make Rational('3/2') work.
-
Georg Brandl yazdı
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
Skip Montanaro yazdı
empty() and full().
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
Orignal patch (without tests) by Leif Walsh.
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
Andrew M. Kuchling yazdı
-
- 14 Ock, 2008 11 kayıt (commit)
-
-
Raymond Hettinger yazdı
Fix 1698398: Zipfile.printdir() crashed because the format string expected a tuple object of length six instead of a time.struct_time object.
-
Andrew M. Kuchling yazdı
-
Thomas Heller yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
Now that I've learnt about structseq objects I felt like converting sys.float_info to a structseq. It's readonly and help(sys.float_info) explains the attributes nicely.
-
Christian Heimes yazdı
-
Christian Heimes yazdı
-
Christian Heimes yazdı
Added new an better structseq representation. E.g. repr(time.gmtime(0)) now returns 'time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0)' instead of '(1970, 1, 1, 0, 0, 0, 3, 1, 0)'. The feature is part of #1816: sys.flags
-
Amaury Forgeot d'Arc yazdı
Slots inheritance is very different from OO inheritance. This code lead to infinite recursion on classes derived from StructType.
-
Amaury Forgeot d'Arc yazdı
now that ctypes uses a more supported method to create types: Method cache optimization, by Armin Rigo, ported to 2.6 by Kevin Jacobs.
-
Amaury Forgeot d'Arc yazdı
ctypes takes some liberties when creating python types: it modifies the types' __dict__ directly, bypassing all the machinery of type objects which deal with special methods. And this broke recent optimisations of method lookup. Now we try to modify the type with more "official" functions.
-
- 13 Ock, 2008 6 kayıt (commit)
-
-
Georg Brandl yazdı
-
Ka-Ping Yee yazdı
#1550: help('modules') broken by several 3rd party libraries. Tested with Python build: trunk:54235:59936M -- the reported error occurs with Django installed (or with any __init__.py present on the path that raises an exception), and such errors indeed go away when this change is applied.
-
Thomas Heller yazdı
-
Georg Brandl yazdı
-
Raymond Hettinger yazdı
-
Raymond Hettinger yazdı
-
- 12 Ock, 2008 4 kayıt (commit)
-
-
Georg Brandl yazdı
-
Georg Brandl yazdı
2.6 by Kevin Jacobs.
-
Georg Brandl yazdı
from os docs, rework posix docs.
-
Mark Dickinson yazdı
when constructing from a string. Disallow trailing newlines in Context.create_decimal.
-
- 11 Ock, 2008 2 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
Thomas Heller yazdı
NULL may be a valid return value from PyLong_AsVoidPtr. Will backport to release25-maint.
-