- 20 Feb, 2008 1 commit
-
-
Georg Brandl authored
-
- 19 Feb, 2008 2 commits
-
-
Eric Smith authored
-
Eric Smith authored
-
- 18 Feb, 2008 5 commits
-
-
Eric Smith authored
-
Kristján Valur Jónsson authored
Perform correct handling of stack overflow for windows: Catch the correct exception code and reset the overflow condition when handled.
-
Eric Smith authored
-
Facundo Batista authored
Thanks Anthony Lenton.
-
Facundo Batista authored
inspect.py. Thanks Javi Mansilla for patch review and corrections.
-
- 17 Feb, 2008 8 commits
-
-
Georg Brandl authored
-
Amaury Forgeot d'Arc authored
Only PCBuild (vs9) was really tested. Changes for older compilers were done manually.
-
Eric Smith authored
Highlights: - Adding PyObject_Format. - Adding string.Format class. - Adding __format__ for str, unicode, int, long, float, datetime. - Adding builtin format. - Adding ''.format and u''.format. - str/unicode fixups for formatters. The files in Objects/stringlib that implement PEP 3101 (stringdefs.h, unicodedefs.h, formatter.h, string_format.h) are identical in trunk and py3k. Any changes from here on should be made to trunk, and changes will propogate to py3k).
-
Facundo Batista authored
a subclass of it. Thanks John Lenton.
-
Facundo Batista authored
issues regarding user/group and permissions. Fixes 1050828.
-
Georg Brandl authored
-
Georg Brandl authored
-
Brett Cannon authored
Thanks to Christopher White from GHOP.
-
- 16 Feb, 2008 5 commits
-
-
Amaury Forgeot d'Arc authored
is still present in the containing structure.
-
Amaury Forgeot d'Arc authored
function can be called recursively. This was discussed in issue1020188. In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect, except when they appear in tp_new or tp_dealloc functions, or when the member cannot be of a user-defined class. Note that tp_init is not safe. I do have a (crashing) example for every changed line. Is it worth adding them to the test suite? Example: class SpecialStr(str): def __del__(self): s.close() import cStringIO s = cStringIO.StringIO(SpecialStr("text")) s.close() # Segfault
-
Georg Brandl authored
-
Raymond Hettinger authored
-
Amaury Forgeot d'Arc authored
Skip this test created by r60830.
-
- 15 Feb, 2008 10 commits
-
-
Amaury Forgeot d'Arc authored
They still remain fragile. For example, a call to assertEqual currently does not make any allocation (which surprised me at first). But this can change when gc.collect also deletes the numerous "zombie frames" attached to each function.
-
Kurt B. Kaiser authored
in the config dialog would cause non-Python files to be colored as if they were Python source; improve use of ColorDelagator. Patch 1334. Tal Einat.
-
Kurt B. Kaiser authored
-
Amaury Forgeot d'Arc authored
-
Amaury Forgeot d'Arc authored
Also correct a possible crash using ABCs. This change is exactly the same as an optimisation done 5 years ago, but on slot *access*: http://svn.python.org/view?view=rev&rev=28297
-
Raymond Hettinger authored
-
Skip Montanaro authored
* place_summary_first copies the regrtest summary to the front of the file making it easier to scan quickly for problems. * count_failures gets the actual count of the number of failing tests, not just a 1 (some failures) or 0 (no failures).
-
Eric Smith authored
In PyNumber_ToBase, changed from an assert to returning an error when PyObject_Index() returns something other than an int or long. It should never be possible to trigger this, as PyObject_Index checks to make sure it returns an int or long.
-
Christian Heimes authored
Thanks to Thomas Herve for the fix.
-
Christian Heimes authored
Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them.
-
- 14 Feb, 2008 9 commits
-
-
Christian Heimes authored
Use a static and interned string for __subclasscheck__ and __instancecheck__ as suggested by Thomas Heller in #2115
-
Thomas Heller authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Christian Heimes authored
Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation.
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-
Raymond Hettinger authored
-