- 06 Jun, 2006 7 commits
-
-
Thomas Heller authored
-
Martin Blais authored
Found them using:: find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done (I was doing this all over my own code anyway, because I'd been using spaces in all defs, so I thought I'd make a run on the Python code as well. If you need to do such fixes in your own code, you can use xx-rename or parenregu.el within emacs.)
-
Thomas Heller authored
-
Thomas Heller authored
structmember typecode for Py_ssize_t fields. This should fix some of the errors on the PPC64 debian machine (64-bit, big endian). Assigning to readonly fields now raises AttributeError instead of TypeError, so the testcase has to be changed as well.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Tim Peters authored
exact maximum size someone guesses is needed. In this case, if we're really worried about extreme integers, then "cp%d" can actually need 14 bytes (2 for "cp" + 1 for \0 at the end + 11 for -(2**31-1)). So reserve 128 bytes instead -- nothing is actually saved by making a stack-local buffer tiny.
-
- 05 Jun, 2006 23 commits
-
-
Gregory P. Smith authored
results. It could previously incorrectly return 0 in some cases. Fixes SF bug 1493322 (pybsddb bug 1184012).
-
Brett Cannon authored
Add 3 more bytes to a buffer to cover constants in string and null byte on top of 10 possible digits for an int. Closes bug #1501223.
-
Gregory P. Smith authored
-
Tim Peters authored
-
Tim Peters authored
string_reverse(): Simplify. assertRaises(): Raise TestFailed on failure. test_unpack_from(), test_pack_into(), test_pack_into_fn(): never use `assert` to test for an expected result (it doesn't test anything when Python is run with -O).
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Gregory P. Smith authored
supplied [SF pybsddb bug #1477863]
-
Tim Peters authored
-
Tim Peters authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Gregory P. Smith authored
-
Tim Peters authored
-
Tim Peters authored
-
Tim Peters authored
argument. A lot of hair went into supporting that!
-
Gregory P. Smith authored
-
Hye-Shik Chang authored
decoder. (found by Neal Norwitz)
-
Tim Peters authored
Move the long-winded, multiply-nested -R support out of runtest() and into some module-level helper functions. This makes runtest() and the -R code easier to follow. That in turn allowed seeing some opportunities for code simplification, and made it obvious that reglog.txt never got closed.
-
Gregory P. Smith authored
fix the additional rare (out of memory only) bug that it was supposed to fix of not freeing log_list when the python allocator failed.
-
Gregory P. Smith authored
in BerkeleyDB >= 4.2 it tried to construct a list out of an uninitialized char **log_list. feature: export the DB_ARCH_REMOVE flag by name in the module on BerkeleyDB >= 4.2.
-
Andrew M. Kuchling authored
-
- 04 Jun, 2006 10 commits
-
-
Tim Peters authored
46640 Patch #1454481: Make thread stack size runtime tunable. 46647 Markup fix The first is causing many buildbots to fail test runs, and there are multiple causes with seemingly no immediate prospects for repairing them. See python-dev discussion. Note that a branch can (and should) be created for resolving these problems, like svn copy svn+ssh://svn.python.org/python/trunk -r46640 svn+ssh://svn.python.org/python/branches/NEW_BRANCH followed by merging rev 46647 to the new branch.
-
Tim Peters authored
-
Georg Brandl authored
-
Georg Brandl authored
(thanks to Neal for review)
-
Georg Brandl authored
-
Martin v. Löwis authored
-
George Yoshida authored
-
George Yoshida authored
-
Tim Peters authored
s_unpack_from to PyCFunction.
-
Ronald Oussoren authored
-