summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue 1289, just a typo.Facundo Batista2007-10-181-1/+1
|
* Issue #1580738. When HTTPConnection reads the whole stream with read(),Facundo Batista2007-10-182-3/+15
| | | | | | | it closes itself. When the stream is read in several calls to read(n), it should behave in the same way if HTTPConnection knows where the end of the stream is (through self.length). Added a test case for this behaviour.
* Fix the overflow checking of list_repeat.Armin Rigo2007-10-172-4/+16
| | | | | | Introduce overflow checking into list_inplace_repeat. Backport candidate, possibly.
* Re-order some functions whose parameters differ between PyObject and const charBrett Cannon2007-10-161-14/+14
| | | | * so that they are next to each other.
* Remove ``:const:`` notation on None in parameter list. Since the markup is notBrett Cannon2007-10-161-1/+1
| | | | rendered for parameters it just showed up as ``:const:`None` `` in the output.
* Add itemsAndrew M. Kuchling2007-10-161-1/+50
|
* More docs, error messages, and testsRaymond Hettinger2007-10-163-9/+21
|
* Improve error messagesRaymond Hettinger2007-10-161-6/+7
|
* Change a PyErr_Print() into a PyErr_Clear(),Guido van Rossum2007-10-151-1/+1
| | | | per discussion in issue 1031213.
* test_bigbits was not testing what it seemed to.Armin Rigo2007-10-151-4/+8
|
* Use unittest for assertionsNeal Norwitz2007-10-141-33/+34
|
* Don't raise a string exception, they don't work anymore.Neal Norwitz2007-10-141-1/+1
|
* Let the O/S supply a port if none of the default ports can be used.Neal Norwitz2007-10-141-4/+12
| | | | | | | | | This should make the tests more robust at the expense of allowing tests to be sloppier by not requiring them to cleanup after themselves. (It will legitamitely help when running two test suites simultaneously or if another process is already using one of the predefined ports.) Also simplifies (slightLy) the exception handling elsewhere.
* Fix an uncollectable reference leak in bsddb.db.DBShelf.appendGregory P. Smith2007-10-131-2/+19
|
* Fix email example.Georg Brandl2007-10-131-1/+1
|
* Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.appendGregory P. Smith2007-10-122-23/+78
| | | | | was useless due to inverted logic. Also adds a test case for RECNO dbs to test_dbshelve.
* Fix test of count.__repr__() to ignore the 'L' if the count is a longRaymond Hettinger2007-10-121-1/+4
|
* Bug #1216: Restore support for Visual Studio 2002.Martin v. Löwis2007-10-122-2/+4
| | | | Will backport to 2.5.
* Get this module to compile with bsddb versions prior to 4.3Neal Norwitz2007-10-121-0/+2
|
* Fix Coverity 185-186: If the passed in FILE is NULL, uninitialized memoryNeal Norwitz2007-10-121-0/+2
| | | | | | would be accessed. Will backport.
* Fix Coverity 180: Don't overallocate. We don't need structs, but pointers.Neal Norwitz2007-10-121-1/+2
| | | | Also fix a memory leak.
* Fix Coverity 168: Close the file before returning (exiting).Neal Norwitz2007-10-121-0/+1
|
* Get rid of compiler warning about retval being used (returned) withoutNeal Norwitz2007-10-121-1/+1
| | | | being initialized. (gcc warning and Coverity 202)
* Get rid of warnings on a bunch of platforms by using a proper prototype.Neal Norwitz2007-10-127-18/+18
|
* Get rid of warning about not being able to create an existing directory.Neal Norwitz2007-10-121-1/+1
|
* On OS X, use os.uname() instead of gestalt.sysv(...) to get theThomas Heller2007-10-112-10/+6
| | | | | operating system version. This allows to use ctypes when Python was configured with --disable-toolbox-glue.
* show paste if > 80 columns. Patch 1659326 Tal Einat.Kurt B. Kaiser2007-10-102-0/+3
|
* Allow cursor color change w/o restart. Patch 1725576 Tal Einat.Kurt B. Kaiser2007-10-102-0/+5
|
* Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵Raymond Hettinger2007-10-103-12/+45
| | | | unbounded deques.
* Remove file-level typedefs that were inconsistently used throughout the file.Brett Cannon2007-10-101-105/+103
| | | | | | Just move over to the public API names. Closes issue1238.
* Allow interrupt only when executing user code in subprocessKurt B. Kaiser2007-10-092-3/+13
| | | | Patch 1225 Tal Einat modified from IDLE-Spoon.
* remove another sleepycat referenceGregory P. Smith2007-10-091-1/+1
|
* Use the highest cPickle protocol in bsddb.dbshelve. This comes fromGregory P. Smith2007-10-091-14/+28
| | | | sourceforge pybsddb patch 1551443 by w_barnes.
* Fix a double free when positioning a database cursor to a non-existantGregory P. Smith2007-10-092-1/+33
| | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail.
* Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C APIGregory P. Smith2007-10-093-188/+264
| | | | | | | | | | | object available as bsddb.db.api. This is based on the patch submitted by Duncan Grisby here: http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900 See this thread for additional info: http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users It also cleans up the code a little by removing some ifdef/endifs for python prior to 2.1 and for unsupported Berkeley DB <= 3.2.
* Make the error messages more specificRaymond Hettinger2007-10-091-6/+9
|
* Eliminate camelcase function nameAndrew M. Kuchling2007-10-081-2/+2
|
* Eliminate camelcase function nameRaymond Hettinger2007-10-084-36/+50
|
* #1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc.Georg Brandl2007-10-082-15/+194
| | | | No need to merge this to py3k!
* Better variable namesRaymond Hettinger2007-10-081-4/+4
|
* Missed a line in the docsRaymond Hettinger2007-10-081-1/+1
|
* Add comments to NamedTuple code.Raymond Hettinger2007-10-083-6/+28
| | | | | Let the field spec be either a string or a non-string sequence (suggested by Martin Blais with use cases). Improve the error message in the case of a SyntaxError (caused by a duplicate field name).
* Update docstring of sched, also remove an unused assignment.Georg Brandl2007-10-081-6/+6
|
* #1123: fix the docs for the str.split(None, sep) case.Georg Brandl2007-10-081-23/+32
| | | | Also expand a few other methods' docs, which had more info in the deprecated string module docs.
* Ensure that this test will pass even if another test left an unwritable TESTFN.Neal Norwitz2007-10-061-5/+4
| | | | Also use the safe unlink in test_support instead of rolling our own here.
* Use the host the author likely meant in the first place. pop.gmail.com isGregory P. Smith2007-10-061-4/+1
| | | | reliable. gmail.org is someones personal domain.
* Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module.Gregory P. Smith2007-10-061-4/+12
|
* Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390Gregory P. Smith2007-10-061-1/+7
| | | | ubuntu buildbots.
* Restore BEGIN/END THREADS macros which were squashed in the previous checkinRaymond Hettinger2007-10-051-5/+21
|
* Add a note about fixing some more warnings found by Coverity.Neal Norwitz2007-10-051-0/+2
|