Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix handling when a proper getopt(1) is available; the "--" | Fred Drake | 2004-06-29 | 1 | -0/+4 |
| | | | | end-of-options marker wasn't recognized | ||||
* | [Patch #974633] Check PyObject_MALLOC return for error | Andrew M. Kuchling | 2004-06-29 | 2 | -0/+5 |
| | |||||
* | [Bug #948970] Add PyExc_* symbols to index. | Andrew M. Kuchling | 2004-06-29 | 1 | -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 candidate | Andrew M. Kuchling | 2004-06-29 | 1 | -7/+5 |
| | |||||
* | [Bug #912845] urllib2 only checks for a 200 return code, but 206 is also ↵ | Andrew M. Kuchling | 2004-06-29 | 1 | -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. Kuchling | 2004-06-29 | 1 | -1/+0 |
| | | | | have been commented.) | ||||
* | Add test case for bug #912845: requesting an HTTP byte range doesn't work | Andrew M. Kuchling | 2004-06-29 | 1 | -6/+16 |
| | |||||
* | Docstring grammar fix | Andrew M. Kuchling | 2004-06-29 | 1 | -1/+1 |
| | |||||
* | Add a missing space. | Brett Cannon | 2004-06-29 | 1 | -1/+1 |
| | |||||
* | Fix stupid mistake of forgetting to mention that the fix for bug #981299 | Brett Cannon | 2004-06-29 | 1 | -2/+2 |
| | | | | entailed editing the urlparse module. | ||||
* | rsync is now a recognized protocol that uses "netloc" (i.e. specifies a network | Brett Cannon | 2004-06-29 | 2 | -1/+4 |
| | | | | | | location) in its addressing. Closes bug #981299. | ||||
* | Changed applicable use of ``char *`` declarations that are passed into | Brett Cannon | 2004-06-29 | 1 | -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.txt | Martin v. Löwis | 2004-06-28 | 1 | -0/+3 |
| | |||||
* | Patch from Mark Hammond to fix a test error. | Raymond Hettinger | 2004-06-28 | 1 | -9/+12 |
| | | | | Now runs without exception on WinME/98. | ||||
* | Adds support for DB.pget and DBCursor.pget methods. | Gregory P. Smith | 2004-06-28 | 3 | -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. Smith | 2004-06-28 | 1 | -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 of | Barry Warsaw | 2004-06-28 | 4 | -18/+73 |
| | | | | getservbyname() optional. Update the tests and the docs. | ||||
* | Add missing backslash for PyDateTimeAPI->Delta_FromDelta() macro. | Brett Cannon | 2004-06-28 | 1 | -1/+1 |
| | |||||
* | raise the module minor version. | Gregory P. Smith | 2004-06-27 | 1 | -1/+1 |
| | |||||
* | SF patch / bug #967763 | Gregory P. Smith | 2004-06-27 | 2 | -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 Cannon | 2004-06-27 | 1 | -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 when | Gregory P. Smith | 2004-06-27 | 1 | -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 in | Tim Peters | 2004-06-27 | 2 | -17/+11 |
| | | | | places it's just noise. | ||||
* | Patch #923098: Share interned strings in marshal. | Martin v. Löwis | 2004-06-27 | 6 | -31/+122 |
| | |||||
* | Patch #966493: Cleanup generator/eval_frame exposure. | Martin v. Löwis | 2004-06-27 | 5 | -18/+13 |
| | |||||
* | Mention Py_RETURN_NONE when introducing the idiom of how to have a function | Brett Cannon | 2004-06-27 | 1 | -1/+2 |
| | | | | return Py_None. | ||||
* | * Silence a test failure that resulted when test_site was run by | Raymond Hettinger | 2004-06-27 | 1 | -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 leak | Raymond Hettinger | 2004-06-26 | 1 | -4/+26 |
| | |||||
* | Clarify sentence at end of Intermezzo section stating that PyMODINIT_FUNC will | Brett Cannon | 2004-06-26 | 1 | -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 Montanaro | 2004-06-26 | 1 | -1/+2 |
| | |||||
* | remove debugging print | Skip Montanaro | 2004-06-26 | 1 | -1/+0 |
| | |||||
* | Allow classes from other modules to be specified at startup. For example, | Skip Montanaro | 2004-06-26 | 1 | -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 Hettinger | 2004-06-26 | 1 | -0/+7 |
| | |||||
* | Get ceval.c to compile again by moving declarations before other statments. | Raymond Hettinger | 2004-06-26 | 1 | -1/+2 |
| | |||||
* | Modules/getpath.c now compiles properly under OS X when using the | Brett Cannon | 2004-06-26 | 2 | -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 code | Nicholas Bastin | 2004-06-25 | 5 | -97/+31 |
| | |||||
* | Make distutils "install --home" support all platforms. | Fred Drake | 2004-06-25 | 4 | -34/+96 |
| | |||||
* | Cosmetic spacing fix. | Raymond Hettinger | 2004-06-25 | 1 | -1/+1 |
| | |||||
* | Fix leak found by Eric Huss. | Raymond Hettinger | 2004-06-25 | 1 | -0/+1 |
| | |||||
* | Fix leak found by Eric Huss. | Raymond Hettinger | 2004-06-25 | 1 | -1/+6 |
| | |||||
* | add boilerplate so the test modules can be run as scripts | Fred Drake | 2004-06-25 | 3 | -1/+9 |
| | |||||
* | Move NOP to end of code transformation. | Raymond Hettinger | 2004-06-24 | 1 | -3/+7 |
| | |||||
* | move the note about the bsddb185 module above the "See also" box; that | Fred Drake | 2004-06-24 | 1 | -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 get | Brett Cannon | 2004-06-24 | 1 | -1/+1 |
| | | | | __PyTime_DoubleToTimet(). | ||||
* | Change comment from C++ style to C. | Brett Cannon | 2004-06-24 | 1 | -1/+1 |
| | |||||
* | Less ugly #ifdefs for C profiling fix | Nicholas Bastin | 2004-06-22 | 1 | -12/+5 |
| | |||||
* | One forgotten C profiling #ifdef | Nicholas Bastin | 2004-06-22 | 1 | -1/+2 |
| | |||||
* | Making C profiling a configure option (at least temporarily) | Nicholas Bastin | 2004-06-22 | 4 | -1/+55 |
| | |||||
* | Install two code generation optimizations that depend on NOP. | Raymond Hettinger | 2004-06-21 | 4 | -3/+35 |
| | | | | Reduces the cost of "not" to almost zero. | ||||
* | add a couple of tests for the build_scripts command | Fred Drake | 2004-06-21 | 1 | -0/+74 |
| |