- 08 Jun, 2006 3 commits
-
-
Gregory P. Smith authored
DBDeadLockError exception. * add the test case for my previous dbtables commit.
-
Gregory P. Smith authored
aborts the db transaction safely when a modifier callback fails. Fixes SF python patch/bug #1408584. Also cleans up the bsddb.dbtables docstrings since thats the only documentation that exists for that unadvertised module. (people really should really just use sqlite3)
-
Neal Norwitz authored
-
- 07 Jun, 2006 17 commits
-
-
Brett Cannon authored
-
Thomas Heller authored
endian machines. Should fix the remaininf failure in the PPC64 Debian buildbot. Thanks to Matthias Klose for providing access to a machine to debug and test this.
-
Tim Peters authored
-
Tim Peters authored
-
Ronald Oussoren authored
sys.exutable that isn't usuable on an #!-line. That results in generated applets that don't actually work. Work around this problem by resetting sys.executable. * argvemulator.py didn't work on intel macs. This patch fixes this (bug #1491468)
-
Ronald Oussoren authored
of relying on a maintainer to update them before releases. - Remove the now empty Mac/OSX directory
-
Ronald Oussoren authored
-
Ronald Oussoren authored
-
Ronald Oussoren authored
-
Ronald Oussoren authored
-
Ronald Oussoren authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
from ?iga Seilnacht (sorry about the name, but Firefox on my box can't display the first character of the name -- the SF "Unix name" is zseil). This appears to cure the oddball intermittent leaks across runs when running test_exceptions under -R. I'm not sure why, but I'm too sleepy to care ;-) The thrust of the SF patch was to remove randomness in the pickle protocol used. I changed the patch to use range(pickle.HIGHEST_PROTOCOL + 1), to try both pickle and cPickle, and randomly mucked with other test lines to put statements on their own lines. Not a bugfix candidate (this is fiddling new-in-2.5 code).
-
Tim Peters authored
different results across -R runs (at least on Windows) of test_filecmp.
-
- 06 Jun, 2006 15 commits
-
-
Ronald Oussoren authored
configuration files during a framework install.
-
Ronald Oussoren authored
with --enable-framework * Also for --enable-framework: allow users to use --prefix to specify the location of the compatibility symlinks (such as /usr/local/bin/python)
-
Thomas Heller authored
This fixes the callback function tests that return float.
-
Thomas Heller authored
big endian platforms.
-
Brett Cannon authored
-
Andrew M. Kuchling authored
-
Tim Peters authored
by mistake in rev 46693, so reverting this part of rev 46693.
-
Tim Peters authored
parameter strings") changed this function's signature seemingly by mistake, which is causing buildbots to fail test_bsddb3. Restored the pre-46688 signature.
-
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 5 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).
-