summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fix handling when a proper getopt(1) is available; the "--"Fred Drake2004-06-291-0/+4
| | | | end-of-options marker wasn't recognized
* [Patch #974633] Check PyObject_MALLOC return for errorAndrew M. Kuchling2004-06-292-0/+5
|
* [Bug #948970] Add PyExc_* symbols to index.Andrew M. Kuchling2004-06-291-28/+28
| | | | | (I ran this through texcheck, but don't have LaTeX installed on this machine and therefore haven't verified that the changes are accepted by LaTeX.)
* [Bug #978556] Update SHA spec URL; bugfix candidateAndrew M. Kuchling2004-06-291-7/+5
|
* [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also ↵Andrew M. Kuchling2004-06-291-2/+2
| | | | | | legal if a Range: header was supplied. (Actually, should the first 'if' statement be modified to allow any 2xx status code?)
* Remove unused import. (If it's there for some deep, dark reason, it should ↵Andrew M. Kuchling2004-06-291-1/+0
| | | | have been commented.)
* Add test case for bug #912845: requesting an HTTP byte range doesn't workAndrew M. Kuchling2004-06-291-6/+16
|
* Docstring grammar fixAndrew M. Kuchling2004-06-291-1/+1
|
* Add a missing space.Brett Cannon2004-06-291-1/+1
|
* Fix stupid mistake of forgetting to mention that the fix for bug #981299Brett Cannon2004-06-291-2/+2
| | | | entailed editing the urlparse module.
* rsync is now a recognized protocol that uses "netloc" (i.e. specifies a networkBrett Cannon2004-06-292-1/+4
| | | | | | location) in its addressing. Closes bug #981299.
* Changed applicable use of ``char *`` declarations that are passed intoBrett Cannon2004-06-291-6/+6
| | | | | | | | | PyArg_ParseTuple() to ``const char *`` to match the recommendation made in section 1.3 and to support better coding habits. Section 1.8 ("Keyword Parameters for Extension Functions") and it's coding example were not touched since it is stems from an accredited source and thus did not want to step on anyone's toes.
* Add readme.txtMartin v. Löwis2004-06-281-0/+3
|
* Patch from Mark Hammond to fix a test error.Raymond Hettinger2004-06-281-9/+12
| | | | Now runs without exception on WinME/98.
* Adds support for DB.pget and DBCursor.pget methods.Gregory P. Smith2004-06-283-3/+225
| | | | | Based on a patch supplied by Ian Ward <ian@arevco.ca> on the pybsddb mailing list 2004-03-26.
* Add weakref support to all bsddb.db objects.Gregory P. Smith2004-06-281-7/+127
| | | | | Make DBTxn objects automatically call abort() in their destructor if not yet finalized and raise a RuntimeWarning to that effect.
* Added socket.getservbyport(), and make its second argument and that ofBarry Warsaw2004-06-284-18/+73
| | | | getservbyname() optional. Update the tests and the docs.
* Add missing backslash for PyDateTimeAPI->Delta_FromDelta() macro.Brett Cannon2004-06-281-1/+1
|
* raise the module minor version.Gregory P. Smith2004-06-271-1/+1
|
* SF patch / bug #967763Gregory P. Smith2004-06-272-43/+85
| | | | | | | | | | | | Fix memory leaks revealed by valgrind and ensuing code inspection. In the existing test suite valgrind revealed two memory leaks (DB_get and DBC_set_range). Code inspection revealed that there were many other potential similar leaks (many on odd code error paths such as passing something other than a DBTxn object for a txn= parameter or in the face of an out of memory error). The most common case that would cause a leak was when using recno or queue format databases with integer keys, sometimes only with an exception exit.
* Add code for a range function that uses generators.Brett Cannon2004-06-271-42/+64
| | | | | | | | | Cleaned up existing code by abstracting code to parse arguments. Also removed any unneeded operations (such as calling 'int' on a division when using floor division also works). Fixed a bug where the values returned by OldStyleRange could be short by one value. Added more documentation. Testing code also has a basic sanity check.
* Fix SF bug # 897820 - we can no longer use the DB_TRUNCATE flag whenGregory P. Smith2004-06-271-6/+11
| | | | | | opening the DB to implement legacy interface flag='n' support as BerkeleyDB 4.2.52 no longer allows it in transaction protected environments. Do the os.unlink ourselves.
* sizeof(char) is 1, by definition, so get rid of that expression inTim Peters2004-06-272-17/+11
| | | | places it's just noise.
* Patch #923098: Share interned strings in marshal.Martin v. Löwis2004-06-276-31/+122
|
* Patch #966493: Cleanup generator/eval_frame exposure.Martin v. Löwis2004-06-275-18/+13
|
* Mention Py_RETURN_NONE when introducing the idiom of how to have a functionBrett Cannon2004-06-271-1/+2
| | | | return Py_None.
* * Silence a test failure that resulted when test_site was run byRaymond Hettinger2004-06-271-7/+10
| | | | | | | | | | regrtest.py after it ran test_frozen. This test was really only designed to be run immediately after startup. Afterwards, other modules could be loaded when had not been fixed-up by site.py Took the chicken way out and only tested those modules known to be imported by site.py. * Normalized whitespace.
* SF bug #980419: int left-shift causes memory leakRaymond Hettinger2004-06-261-4/+26
|
* Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC willBrett Cannon2004-06-261-1/+2
| | | | | be discussed later by saying it is the function return type of the sample code to make spotting it easier.
* Install Barry's smtpd.py daemon.Skip Montanaro2004-06-261-1/+2
|
* remove debugging printSkip Montanaro2004-06-261-1/+0
|
* Allow classes from other modules to be specified at startup. For example,Skip Montanaro2004-06-261-2/+9
| | | | | | using the postfixproxy module from Spambayes you might start smtpd up like smtpd.py -c spambayes.postfixproxy.SpambayesProxy :8025 :8026
* Add a comment with implementation notes.Raymond Hettinger2004-06-261-0/+7
|
* Get ceval.c to compile again by moving declarations before other statments.Raymond Hettinger2004-06-261-1/+2
|
* Modules/getpath.c now compiles properly under OS X when using theBrett Cannon2004-06-262-1/+4
| | | | | | | --disable-framework build; header file was protected in an #if using the wrong macro to check. Closes bug #978645.
* Massive performance improvement for C extension and builtin tracing codeNicholas Bastin2004-06-255-97/+31
|
* Make distutils "install --home" support all platforms.Fred Drake2004-06-254-34/+96
|
* Cosmetic spacing fix.Raymond Hettinger2004-06-251-1/+1
|
* Fix leak found by Eric Huss.Raymond Hettinger2004-06-251-0/+1
|
* Fix leak found by Eric Huss.Raymond Hettinger2004-06-251-1/+6
|
* add boilerplate so the test modules can be run as scriptsFred Drake2004-06-253-1/+9
|
* Move NOP to end of code transformation.Raymond Hettinger2004-06-241-3/+7
|
* move the note about the bsddb185 module above the "See also" box; thatFred Drake2004-06-241-4/+5
| | | | | should always go last in the relevant section's main content, but before child sections
* Add compilation of timemodule.c with datetimemodule.c to getBrett Cannon2004-06-241-1/+1
| | | | __PyTime_DoubleToTimet().
* Change comment from C++ style to C.Brett Cannon2004-06-241-1/+1
|
* Less ugly #ifdefs for C profiling fixNicholas Bastin2004-06-221-12/+5
|
* One forgotten C profiling #ifdefNicholas Bastin2004-06-221-1/+2
|
* Making C profiling a configure option (at least temporarily)Nicholas Bastin2004-06-224-1/+55
|
* Install two code generation optimizations that depend on NOP.Raymond Hettinger2004-06-214-3/+35
| | | | Reduces the cost of "not" to almost zero.
* add a couple of tests for the build_scripts commandFred Drake2004-06-211-0/+74
|