Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Damn - the sentinel was missing. And fix another silly mistake. | Thomas Heller | 2006-06-06 | 1 | -1/+2 |
| | |||||
* | Convert CFieldObject tp_members to tp_getset, since there is no | Thomas Heller | 2006-06-06 | 2 | -15/+29 |
| | | | | | | | | 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. | ||||
* | Fix a bunch of parameter strings | Neal Norwitz | 2006-06-06 | 1 | -7/+7 |
| | |||||
* | Remove unused variable (and stop compiler warning) | Neal Norwitz | 2006-06-06 | 1 | -1/+0 |
| | |||||
* | _PySys_Init(): It's rarely a good idea to size a buffer to the | Tim Peters | 2006-06-06 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | - bsddb: the __len__ method of a DB object has been fixed to return correct | Gregory P. Smith | 2006-06-05 | 2 | -6/+21 |
| | | | | | results. It could previously incorrectly return 0 in some cases. Fixes SF bug 1493322 (pybsddb bug 1184012). | ||||
* | Add 3 more bytes to a buffer to cover constants in string and null byte on ↵ | Brett Cannon | 2006-06-05 | 1 | -1/+1 |
| | | | | | | top of 10 possible digits for an int. Closes bug #1501223. | ||||
* | add depends = ['md5.h'] to the _md5 module extension for correctness sake. | Gregory P. Smith | 2006-06-05 | 1 | -1/+3 |
| | |||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-06-05 | 1 | -65/+65 |
| | |||||
* | Access _struct attributes directly instead of mucking with getattr. | Tim Peters | 2006-06-05 | 1 | -20/+18 |
| | | | | | | | | | | 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). | ||||
* | [Bug #1470026] Include link to list of classifiers | Andrew M. Kuchling | 2006-06-05 | 1 | -1/+1 |
| | |||||
* | Remove use of Trove name, which isn't very helpful to users | Andrew M. Kuchling | 2006-06-05 | 1 | -2/+2 |
| | |||||
* | * fix DBCursor.pget() bug with keyword argument names when no data= is | Gregory P. Smith | 2006-06-05 | 5 | -5/+76 |
| | | | | supplied [SF pybsddb bug #1477863] | ||||
* | Add missing svn:eol-style property to text files. | Tim Peters | 2006-06-05 | 0 | -0/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-05 | 1 | -3/+2 |
| | |||||
* | forgot to add this file in previous commit | Gregory P. Smith | 2006-06-05 | 1 | -0/+112 |
| | |||||
* | * add support for DBSequence objects [patch #1466734] | Gregory P. Smith | 2006-06-05 | 5 | -12/+501 |
| | |||||
* | mention the just committed bsddb changes | Gregory P. Smith | 2006-06-05 | 1 | -0/+6 |
| | |||||
* | * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902] | Gregory P. Smith | 2006-06-05 | 2 | -2/+33 |
| | |||||
* | Make doctest news more accurate. | Tim Peters | 2006-06-05 | 1 | -2/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-06-05 | 1 | -2/+2 |
| | |||||
* | Remove doctest.testmod's deprecated (in 2.4) `isprivate` | Tim Peters | 2006-06-05 | 4 | -134/+26 |
| | | | | argument. A lot of hair went into supporting that! | ||||
* | * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885] | Gregory P. Smith | 2006-06-05 | 3 | -0/+78 |
| | |||||
* | Fix a potentially invalid memory access of CJKCodecs' shift-jis | Hye-Shik Chang | 2006-06-05 | 2 | -1/+4 |
| | | | | decoder. (found by Neal Norwitz) | ||||
* | "Flat is better than nested." | Tim Peters | 2006-06-05 | 1 | -59/+73 |
| | | | | | | | | | 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. | ||||
* | fix a bug in the previous commit. don't leak empty list on error return and | Gregory P. Smith | 2006-06-05 | 1 | -4/+7 |
| | | | | | 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. | ||||
* | bugfix: when log_archive was called with the DB_ARCH_REMOVE flag present | Gregory P. Smith | 2006-06-05 | 2 | -5/+12 |
| | | | | | | | 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. | ||||
* | Mention second encoding speedup | Andrew M. Kuchling | 2006-06-05 | 1 | -5/+6 |
| | |||||
* | Revert revisions: | Tim Peters | 2006-06-04 | 14 | -332/+5 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-04 | 45 | -45/+0 |
| | |||||
* | Bug #1500293: fix memory leaks in _subprocess module. | Georg Brandl | 2006-06-04 | 2 | -8/+15 |
| | |||||
* | Patch #1346214: correctly optimize away "if 0"-style stmts | Georg Brandl | 2006-06-04 | 5 | -18/+57 |
| | | | | (thanks to Neal for review) | ||||
* | Repair refleaks in unicodeobject. | Georg Brandl | 2006-06-04 | 1 | -0/+3 |
| | |||||
* | Patch #1359618: Speed-up charmap encoder. | Martin v. Löwis | 2006-06-04 | 51 | -11516/+510 |
| | |||||
* | Markup fix | George Yoshida | 2006-06-04 | 2 | -6/+6 |
| | |||||
* | Remove a redundant word | George Yoshida | 2006-06-04 | 1 | -1/+0 |
| | |||||
* | s_methods[]: Stop compiler warnings by casting | Tim Peters | 2006-06-04 | 1 | -1/+2 |
| | | | | s_unpack_from to PyCFunction. | ||||
* | Drop Mac wrappers for the WASTE library. | Ronald Oussoren | 2006-06-04 | 13 | -5608/+1 |
| | |||||
* | "Import" LDFLAGS in Mac/OSX/Makefile.in to ensure pythonw gets build with | Ronald Oussoren | 2006-06-04 | 1 | -0/+1 |
| | | | | the right compiler flags. | ||||
* | Fixes in struct and socket from merge reviews. | Martin Blais | 2006-06-04 | 6 | -74/+75 |
| | | | | | | | | | | | | | - Following Guido's comments, renamed * pack_to -> pack_into * recv_buf -> recv_into * recvfrom_buf -> recvfrom_into - Made fixes to _struct.c according to Neal Norwitz comments on the checkins list. - Converted some ints into the appropriate -- I hope -- ssize_t and size_t. | ||||
* | clean up function declarations to conform to PEP-7 style. | Andrew MacIntyre | 2006-06-04 | 3 | -22/+44 |
| | |||||
* | Patch #1454481: Make thread stack size runtime tunable. | Andrew MacIntyre | 2006-06-04 | 14 | -5/+332 |
| | |||||
* | SF #1499797, Fix for memory leak in WindowsError_str | Neal Norwitz | 2006-06-04 | 1 | -1/+0 |
| | |||||
* | _PyObject_DebugMalloc(): The return value should add | Tim Peters | 2006-06-04 | 1 | -1/+1 |
| | | | | | 2*sizeof(size_t) now, not 8. This probably accounts for current disasters on the 64-bit buildbot slaves. | ||||
* | In a PYMALLOC_DEBUG build obmalloc adds extra debugging info | Tim Peters | 2006-06-04 | 3 | -131/+149 |
| | | | | | | | | | | | | | | | | | to each allocated block. This was using 4 bytes for each such piece of info regardless of platform. This didn't really matter before (proof: no bug reports, and the debug-build obmalloc would have assert-failed if it was ever asked for a chunk of memory >= 2**32 bytes), since container indices were plain ints. But after the Py_ssize_t changes, it's at least theoretically possible to allocate a list or string whose guts exceed 2**32 bytes, and the PYMALLOC_DEBUG routines would fail then (having only 4 bytes to record the originally requested size). Now we use sizeof(size_t) bytes for each of a PYMALLOC_DEBUG build's extra debugging fields. This won't make any difference on 32-bit boxes, but will add 16 bytes to each allocation in a debug build on a 64-bit box. | ||||
* | Whitespace normalization. | Tim Peters | 2006-06-04 | 1 | -2/+1 |
| | |||||
* | Add more whitespace; use a better socket name | Andrew M. Kuchling | 2006-06-03 | 2 | -5/+14 |
| | |||||
* | Remove dangling reference | Andrew M. Kuchling | 2006-06-03 | 1 | -1/+0 |
| | |||||
* | Remove xmlrpc/ directory | Andrew M. Kuchling | 2006-06-03 | 1 | -3/+0 |
| | |||||
* | Remove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module. | Andrew M. Kuchling | 2006-06-03 | 1 | -75/+0 |
| |