Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 1289, just a typo. | Facundo Batista | 2007-10-18 | 1 | -1/+1 |
| | |||||
* | Issue #1580738. When HTTPConnection reads the whole stream with read(), | Facundo Batista | 2007-10-18 | 2 | -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 Rigo | 2007-10-17 | 2 | -4/+16 |
| | | | | | | Introduce overflow checking into list_inplace_repeat. Backport candidate, possibly. | ||||
* | Re-order some functions whose parameters differ between PyObject and const char | Brett Cannon | 2007-10-16 | 1 | -14/+14 |
| | | | | * so that they are next to each other. | ||||
* | Remove ``:const:`` notation on None in parameter list. Since the markup is not | Brett Cannon | 2007-10-16 | 1 | -1/+1 |
| | | | | rendered for parameters it just showed up as ``:const:`None` `` in the output. | ||||
* | Add items | Andrew M. Kuchling | 2007-10-16 | 1 | -1/+50 |
| | |||||
* | More docs, error messages, and tests | Raymond Hettinger | 2007-10-16 | 3 | -9/+21 |
| | |||||
* | Improve error messages | Raymond Hettinger | 2007-10-16 | 1 | -6/+7 |
| | |||||
* | Change a PyErr_Print() into a PyErr_Clear(), | Guido van Rossum | 2007-10-15 | 1 | -1/+1 |
| | | | | per discussion in issue 1031213. | ||||
* | test_bigbits was not testing what it seemed to. | Armin Rigo | 2007-10-15 | 1 | -4/+8 |
| | |||||
* | Use unittest for assertions | Neal Norwitz | 2007-10-14 | 1 | -33/+34 |
| | |||||
* | Don't raise a string exception, they don't work anymore. | Neal Norwitz | 2007-10-14 | 1 | -1/+1 |
| | |||||
* | Let the O/S supply a port if none of the default ports can be used. | Neal Norwitz | 2007-10-14 | 1 | -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.append | Gregory P. Smith | 2007-10-13 | 1 | -2/+19 |
| | |||||
* | Fix email example. | Georg Brandl | 2007-10-13 | 1 | -1/+1 |
| | |||||
* | Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append | Gregory P. Smith | 2007-10-12 | 2 | -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 long | Raymond Hettinger | 2007-10-12 | 1 | -1/+4 |
| | |||||
* | Bug #1216: Restore support for Visual Studio 2002. | Martin v. Löwis | 2007-10-12 | 2 | -2/+4 |
| | | | | Will backport to 2.5. | ||||
* | Get this module to compile with bsddb versions prior to 4.3 | Neal Norwitz | 2007-10-12 | 1 | -0/+2 |
| | |||||
* | Fix Coverity 185-186: If the passed in FILE is NULL, uninitialized memory | Neal Norwitz | 2007-10-12 | 1 | -0/+2 |
| | | | | | | would be accessed. Will backport. | ||||
* | Fix Coverity 180: Don't overallocate. We don't need structs, but pointers. | Neal Norwitz | 2007-10-12 | 1 | -1/+2 |
| | | | | Also fix a memory leak. | ||||
* | Fix Coverity 168: Close the file before returning (exiting). | Neal Norwitz | 2007-10-12 | 1 | -0/+1 |
| | |||||
* | Get rid of compiler warning about retval being used (returned) without | Neal Norwitz | 2007-10-12 | 1 | -1/+1 |
| | | | | being initialized. (gcc warning and Coverity 202) | ||||
* | Get rid of warnings on a bunch of platforms by using a proper prototype. | Neal Norwitz | 2007-10-12 | 7 | -18/+18 |
| | |||||
* | Get rid of warning about not being able to create an existing directory. | Neal Norwitz | 2007-10-12 | 1 | -1/+1 |
| | |||||
* | On OS X, use os.uname() instead of gestalt.sysv(...) to get the | Thomas Heller | 2007-10-11 | 2 | -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. Kaiser | 2007-10-10 | 2 | -0/+3 |
| | |||||
* | Allow cursor color change w/o restart. Patch 1725576 Tal Einat. | Kurt B. Kaiser | 2007-10-10 | 2 | -0/+5 |
| | |||||
* | Accept Jim Jewett's api suggestion to use None instead of -1 to indicate ↵ | Raymond Hettinger | 2007-10-10 | 3 | -12/+45 |
| | | | | unbounded deques. | ||||
* | Remove file-level typedefs that were inconsistently used throughout the file. | Brett Cannon | 2007-10-10 | 1 | -105/+103 |
| | | | | | | Just move over to the public API names. Closes issue1238. | ||||
* | Allow interrupt only when executing user code in subprocess | Kurt B. Kaiser | 2007-10-09 | 2 | -3/+13 |
| | | | | Patch 1225 Tal Einat modified from IDLE-Spoon. | ||||
* | remove another sleepycat reference | Gregory P. Smith | 2007-10-09 | 1 | -1/+1 |
| | |||||
* | Use the highest cPickle protocol in bsddb.dbshelve. This comes from | Gregory P. Smith | 2007-10-09 | 1 | -14/+28 |
| | | | | sourceforge pybsddb patch 1551443 by w_barnes. | ||||
* | Fix a double free when positioning a database cursor to a non-existant | Gregory P. Smith | 2007-10-09 | 2 | -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 API | Gregory P. Smith | 2007-10-09 | 3 | -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 specific | Raymond Hettinger | 2007-10-09 | 1 | -6/+9 |
| | |||||
* | Eliminate camelcase function name | Andrew M. Kuchling | 2007-10-08 | 1 | -2/+2 |
| | |||||
* | Eliminate camelcase function name | Raymond Hettinger | 2007-10-08 | 4 | -36/+50 |
| | |||||
* | #1199: docs for tp_as_{number,sequence,mapping}, by Amaury Forgeot d'Arc. | Georg Brandl | 2007-10-08 | 2 | -15/+194 |
| | | | | No need to merge this to py3k! | ||||
* | Better variable names | Raymond Hettinger | 2007-10-08 | 1 | -4/+4 |
| | |||||
* | Missed a line in the docs | Raymond Hettinger | 2007-10-08 | 1 | -1/+1 |
| | |||||
* | Add comments to NamedTuple code. | Raymond Hettinger | 2007-10-08 | 3 | -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 Brandl | 2007-10-08 | 1 | -6/+6 |
| | |||||
* | #1123: fix the docs for the str.split(None, sep) case. | Georg Brandl | 2007-10-08 | 1 | -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 Norwitz | 2007-10-06 | 1 | -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 is | Gregory P. Smith | 2007-10-06 | 1 | -4/+1 |
| | | | | reliable. gmail.org is someones personal domain. | ||||
* | Allows BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module. | Gregory P. Smith | 2007-10-06 | 1 | -4/+12 |
| | |||||
* | Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390 | Gregory P. Smith | 2007-10-06 | 1 | -1/+7 |
| | | | | ubuntu buildbots. | ||||
* | Restore BEGIN/END THREADS macros which were squashed in the previous checkin | Raymond Hettinger | 2007-10-05 | 1 | -5/+21 |
| | |||||
* | Add a note about fixing some more warnings found by Coverity. | Neal Norwitz | 2007-10-05 | 1 | -0/+2 |
| |