- 22 Jun, 2006 7 commits
-
-
Brett Cannon authored
both a subclass of Warning and a subclass of types.ClassType. The latter is no longer true thanks to new-style exceptions. Closes bug #1510580. Thanks to AMK for the test.
-
Fred Drake authored
-
Georg Brandl authored
Test for correct lineno on list, tuple, dict literals.
-
Georg Brandl authored
-
Andrew M. Kuchling authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 21 Jun, 2006 9 commits
-
-
Armin Rigo authored
The problem of checking too eagerly for recursive calls is the following: if a RuntimeError is caused by recursion, and if code needs to normalize it immediately (as in the 2nd test), then PyErr_NormalizeException() needs a call to the RuntimeError class to instantiate it, and this hits the recursion limit again... causing PyErr_NormalizeException() to never finish. Moved this particular recursion check to slot_tp_call(), which is not involved in instantiating built-in exceptions. Backport candidate.
-
Gerhard Häring authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Georg Brandl authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Brett Cannon authored
constructor, meaning it is treated as *args, not as a single argument. This means using the 'message' attribute won't work (until Py3K comes around), and so one must grab from 'arg' to get the error number.
-
- 20 Jun, 2006 9 commits
-
-
Brett Cannon authored
-
Brett Cannon authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Anthony Baxter authored
-
- 19 Jun, 2006 15 commits
-
-
Trent Mick authored
(http://python.org/sf/1295808)
-
http://python.org/sf/1462338Trent Mick authored
-
Ka-Ping Yee authored
-
Gerhard Häring authored
reference API in pysqlite 2.2.1. Bumbed pysqlite version number to upcoming pysqlite 2.3.1 release.
-
Fred Drake authored
-
Anthony Baxter authored
-
Tim Peters authored
os.environ (setting envar COLUMNS), which at least caused test_float_default() to fail if the tests were run more than once. This repairs the test_optparse -R failures Neal reported on python-dev. It also explains some seemingly bizarre test_optparse failures we saw a couple weeks ago on the buildbots, when test_optparse failed due to test_file failing to clean up after itself, and then test_optparse failed in an entirely different way when regrtest's -w option ran test_optparse a second time. It's now obvious that make_parser() permanently changing os.environ was responsible for the second half of that.
-
Thomas Heller authored
Use ctypes.util.find_library to locate the C runtime library on platforms where is returns useful results.
-
Tim Peters authored
as reported by Neal on python-dev.
-
Walter Dörwald authored
-
Walter Dörwald authored
is_term_resized, resize_term and resizeterm. This uses three separate configure checks (one for each function).
-
Tim Peters authored
-
Thomas Heller authored
-
Georg Brandl authored
-
Neal Norwitz authored
-