summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Damn - the sentinel was missing. And fix another silly mistake.Thomas Heller2006-06-061-1/+2
|
* Convert CFieldObject tp_members to tp_getset, since there is noThomas Heller2006-06-062-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 stringsNeal Norwitz2006-06-061-7/+7
|
* Remove unused variable (and stop compiler warning)Neal Norwitz2006-06-061-1/+0
|
* _PySys_Init(): It's rarely a good idea to size a buffer to theTim Peters2006-06-061-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 correctGregory P. Smith2006-06-052-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 Cannon2006-06-051-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. Smith2006-06-051-1/+3
|
* Add missing svn:eol-style property to text files.Tim Peters2006-06-051-65/+65
|
* Access _struct attributes directly instead of mucking with getattr.Tim Peters2006-06-051-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 classifiersAndrew M. Kuchling2006-06-051-1/+1
|
* Remove use of Trove name, which isn't very helpful to usersAndrew M. Kuchling2006-06-051-2/+2
|
* * fix DBCursor.pget() bug with keyword argument names when no data= isGregory P. Smith2006-06-055-5/+76
| | | | supplied [SF pybsddb bug #1477863]
* Add missing svn:eol-style property to text files.Tim Peters2006-06-050-0/+0
|
* Whitespace normalization.Tim Peters2006-06-051-3/+2
|
* forgot to add this file in previous commitGregory P. Smith2006-06-051-0/+112
|
* * add support for DBSequence objects [patch #1466734]Gregory P. Smith2006-06-055-12/+501
|
* mention the just committed bsddb changesGregory P. Smith2006-06-051-0/+6
|
* * support DBEnv.lsn_reset() method on BerkeleyDB >= 4.4 [patch #1494902]Gregory P. Smith2006-06-052-2/+33
|
* Make doctest news more accurate.Tim Peters2006-06-051-2/+2
|
* Whitespace normalization.Tim Peters2006-06-051-2/+2
|
* Remove doctest.testmod's deprecated (in 2.4) `isprivate`Tim Peters2006-06-054-134/+26
| | | | argument. A lot of hair went into supporting that!
* * support DBEnv.log_stat() method on BerkeleyDB >= 4.0 [patch #1494885]Gregory P. Smith2006-06-053-0/+78
|
* Fix a potentially invalid memory access of CJKCodecs' shift-jisHye-Shik Chang2006-06-052-1/+4
| | | | decoder. (found by Neal Norwitz)
* "Flat is better than nested."Tim Peters2006-06-051-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 andGregory P. Smith2006-06-051-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 presentGregory P. Smith2006-06-052-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 speedupAndrew M. Kuchling2006-06-051-5/+6
|
* Revert revisions:Tim Peters2006-06-0414-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 Peters2006-06-0445-45/+0
|
* Bug #1500293: fix memory leaks in _subprocess module.Georg Brandl2006-06-042-8/+15
|
* Patch #1346214: correctly optimize away "if 0"-style stmtsGeorg Brandl2006-06-045-18/+57
| | | | (thanks to Neal for review)
* Repair refleaks in unicodeobject.Georg Brandl2006-06-041-0/+3
|
* Patch #1359618: Speed-up charmap encoder.Martin v. Löwis2006-06-0451-11516/+510
|
* Markup fixGeorge Yoshida2006-06-042-6/+6
|
* Remove a redundant wordGeorge Yoshida2006-06-041-1/+0
|
* s_methods[]: Stop compiler warnings by castingTim Peters2006-06-041-1/+2
| | | | s_unpack_from to PyCFunction.
* Drop Mac wrappers for the WASTE library.Ronald Oussoren2006-06-0413-5608/+1
|
* "Import" LDFLAGS in Mac/OSX/Makefile.in to ensure pythonw gets build withRonald Oussoren2006-06-041-0/+1
| | | | the right compiler flags.
* Fixes in struct and socket from merge reviews.Martin Blais2006-06-046-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 MacIntyre2006-06-043-22/+44
|
* Patch #1454481: Make thread stack size runtime tunable.Andrew MacIntyre2006-06-0414-5/+332
|
* SF #1499797, Fix for memory leak in WindowsError_strNeal Norwitz2006-06-041-1/+0
|
* _PyObject_DebugMalloc(): The return value should addTim Peters2006-06-041-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 infoTim Peters2006-06-043-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 Peters2006-06-041-2/+1
|
* Add more whitespace; use a better socket nameAndrew M. Kuchling2006-06-032-5/+14
|
* Remove dangling referenceAndrew M. Kuchling2006-06-031-1/+0
|
* Remove xmlrpc/ directoryAndrew M. Kuchling2006-06-031-3/+0
|
* Remove xmlrpc demo -- it duplicates the SimpleXMLRPCServer module.Andrew M. Kuchling2006-06-031-75/+0
|