Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More comments about why not closing a dumddbm properly can be a disaster. | Tim Peters | 2003-07-13 | 1 | -3/+7 |
| | |||||
* | SF 748201: time.strptime() should display format and date on error | Raymond Hettinger | 2003-07-13 | 1 | -1/+2 |
| | | | | Usability fix. Makes the error message more helpful. | ||||
* | _commit(): Modernization. | Tim Peters | 2003-07-12 | 1 | -2/+2 |
| | |||||
* | There's a persistent rumor on the spambayes mailing list that dumbdbm | Tim Peters | 2003-07-12 | 1 | -28/+69 |
| | | | | | | | | | | | | | | | | | databases are associated with corruption problems, so I studied this code carefully and ran some brutal stress tests. I didn't find any bugs, although it's unclear whether this code *intends* that __setitem__ can leave the directory file out of synch with the data file (so if a dumbdbm isn't properly closed, and the value of an existing key was ever replaced, corruption is almost certain, where "corruption" means the directory file is out of synch with the data file). Added many comments and generally modernized the code. Examples of the latter: we have better ways of reading a whole file line-by-line now; eval() now tolerates a trailing newline; the %r format code can be used to avoid explicit repr/backtick calls; and the code often broke tuples into their components when it was clearer and faster to just leave them as tuples. | ||||
* | Patch #764470: Fix marshalling of faults. Will backport to 2.2. | Martin v. Löwis | 2003-07-12 | 1 | -1/+9 |
| | |||||
* | Patch 549151, rev4: redirect posts for 301 also. Will backport to 2.2. | Martin v. Löwis | 2003-07-12 | 1 | -5/+5 |
| | |||||
* | Expose the 'master' instance mentioned in the docs. | Raymond Hettinger | 2003-07-11 | 1 | -0/+1 |
| | |||||
* | Don't include slash in search string; it's OS-specific. | Jeremy Hylton | 2003-07-11 | 1 | -1/+1 |
| | |||||
* | Change warnings to avoid importing re module during startup. | Jeremy Hylton | 2003-07-11 | 3 | -43/+91 |
| | | | | | | | | | Add API function simplefilter() that does not create or install regular expressions to match message or module. Extend the filters data structure to store None as an alternative to re.compile(""). Move the _test() function to test_warnings and add some code to try and avoid disturbing the global state of the warnings module. | ||||
* | patch #766650 - whichdb not identifying dbm DBs when dbm linked with gdbm | Andrew MacIntyre | 2003-07-11 | 1 | -2/+5 |
| | | | | | | | | | | | | | At this point, the problem appears particular to the OS/2 EMX port of gdbm (which is at v1.7.3) - this combination produces a .pag file but no .dir file. A more sophisticated patch which checks magic numbers when dbm.library indicates that dbm is linked to gdbm, and there is no .dir file, is still attached to the above patch entry for reconsideration after 2.3 is released. This checkin applies a workaround specific to the known failure case. | ||||
* | [ 767645 ] correctly set the os.path.supports_unicode_filenames flag for OSX | Just van Rossum | 2003-07-11 | 1 | -1/+5 |
| | |||||
* | __setitem__: Use integer division for computing # of blocks. | Tim Peters | 2003-07-11 | 1 | -2/+2 |
| | |||||
* | Added a new randomized test. | Tim Peters | 2003-07-11 | 1 | -0/+28 |
| | |||||
* | Fixed a bug that's been there from the beginning but wasn't noticed | Just van Rossum | 2003-07-10 | 1 | -3/+3 |
| | | | | | | | | until now: the inheritance of default values was the wrong way around. This caused app bundles to get a type of "BNDL" instead of "APPL". Apparently this is not a problem until you try to drag your app to the dock. ---------------------------------------------------------------------- | ||||
* | don't optimize empty strings | Just van Rossum | 2003-07-10 | 1 | -1/+1 |
| | |||||
* | Fix wrong header name. The framework looks for auth_header. | Jeremy Hylton | 2003-07-10 | 1 | -8/+10 |
| | |||||
* | Extend the pwd & grp emulations to support accessing the pwd/grp | Andrew MacIntyre | 2003-07-10 | 2 | -4/+78 |
| | | | | | | record tuple by name as well as index, to match the behaviour of the pwd/grp extension modules for Unix. These emulation modules now pass test_pwd & test_grp. | ||||
* | SF patch #768187: replace apply(f, args, kwds) with f(*args, **kwds) | Raymond Hettinger | 2003-07-09 | 10 | -16/+14 |
| | |||||
* | fix to work on python <= 2.1 | Gregory P. Smith | 2003-07-09 | 1 | -2/+2 |
| | |||||
* | bugfix: proper import bsddb exists below | Gregory P. Smith | 2003-07-09 | 1 | -1/+0 |
| | |||||
* | bsddb 4.1.6: | Gregory P. Smith | 2003-07-09 | 5 | -10/+174 |
| | | | | | | | | | | | * Extended DB & DBEnv set_get_returns_none functionality to take a "level" instead of a boolean flag. The boolean 0 and 1 values still have the same effect. A value of 2 extends the "return None instead of raising an exception" behaviour to the DBCursor set methods. This will become the default behaviour in pybsddb 4.2. * Fixed a typo in DBCursor.join_item method that made it crash instead of returning a value. Obviously nobody uses it. Wrote a test case for join and join_item. | ||||
* | SF Bug 767794 | Kurt B. Kaiser | 2003-07-09 | 1 | -0/+2 |
| | | | | "Break or continue outside loop causes crash" | ||||
* | Fix SF bug 764095: Don't use network in test_httplib. | Jeremy Hylton | 2003-07-08 | 2 | -14/+35 |
| | |||||
* | Use Boolean values for the capturestderr flag. | Fred Drake | 2003-07-07 | 1 | -3/+3 |
| | |||||
* | Patch from Zooko to remove an experimental feature. | Jeremy Hylton | 2003-07-07 | 1 | -9/+4 |
| | |||||
* | New function sys.getcheckinterval(), to complement setcheckinterval(). | Tim Peters | 2003-07-06 | 1 | -2/+4 |
| | |||||
* | #765903: | Just van Rossum | 2003-07-04 | 1 | -5/+22 |
| | | | | | | | - added bundle_id/--bundle-id option, to specify the CFBundleIndentifier #765615: - in the appropriate situation, prepend $PATH with our path instead of setting it. | ||||
* | If a --python option is used to specify the Python to use in the #! | Jack Jansen | 2003-07-04 | 1 | -1/+4 |
| | | | | line also use this as the executable in the bundle. | ||||
* | Fixes bug of timezone value being left as -1 when ``time.tzname[0] == | Brett Cannon | 2003-07-03 | 2 | -7/+8 |
| | | | | | | | time.tzname[1] and not time.daylight`` is true when it should only when time.daylight is true. Tests are also fixed. Closes bug #763047 and its cohort #763052. | ||||
* | Addendum to #764548: restore 2.1 compatibility. | Just van Rossum | 2003-07-02 | 2 | -3/+9 |
| | |||||
* | Fix and test for bug #764548: | Just van Rossum | 2003-07-02 | 3 | -7/+17 |
| | | | | | | Use isinstance() instead of comparing types directly, to enable subclasses of str and unicode to be used as patterns. Blessed by /F. | ||||
* | fixed typo in comment | Just van Rossum | 2003-07-02 | 1 | -1/+1 |
| | |||||
* | On those systems lacking the AFMT_S16_NE symbol, the test was failing | Andrew MacIntyre | 2003-07-02 | 1 | -1/+1 |
| | | | | | | | because it was still looking in the ossaudiodev module namespace for this symbol. As the symbol has already been rebound as a global, use that instead. | ||||
* | SF #764121, docstring for spawnlp incorrect | Neal Norwitz | 2003-07-02 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #763637, 2.3b2 unpack tuple of wrong size in after_cancel | Neal Norwitz | 2003-07-01 | 1 | -2/+4 |
| | | | | | Tk 8.4 may return different values than 8.3. This fix should handle either version. | ||||
* | - added (c)StringIO tests; cStringIO usage failed in the previous | Just van Rossum | 2003-07-01 | 1 | -0/+16 |
| | | | | version of plistlib.py (r1.2) | ||||
* | - replaced a couple of asserts with proper exceptions | Just van Rossum | 2003-07-01 | 1 | -4/+5 |
| | | | | - use isinstance instead of flaky file-detection code | ||||
* | Make the classes exposed by threading.py new-style classes. This is | Tim Peters | 2003-07-01 | 1 | -3/+7 |
| | | | | mostly for convenience and to aid debugging. | ||||
* | Resolved minor XXX question in the obvious way. | Tim Peters | 2003-07-01 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #763023, difflib.py: ratio() zero division not caught | Neal Norwitz | 2003-07-01 | 2 | -3/+20 |
| | | | | Backport candidate | ||||
* | connector(): You can't use an empty string as an argument to connect() | Tim Peters | 2003-07-01 | 1 | -1/+1 |
| | | | | on Windows. | ||||
* | Fix SF bug #763770, test_socket_ssl crash | Neal Norwitz | 2003-07-01 | 1 | -2/+2 |
| | | | | Don't run any tests if there is no ssl support. | ||||
* | Test Brett's addition of __all__ to Queue. | Raymond Hettinger | 2003-07-01 | 1 | -0/+1 |
| | |||||
* | Add __all__ . | Brett Cannon | 2003-07-01 | 1 | -0/+2 |
| | |||||
* | Fix SF #763362, test_posixpath failed | Neal Norwitz | 2003-07-01 | 1 | -4/+6 |
| | | | | | Don't check expanduser('~') if the home directory == the root directory (ie, we are running as root). | ||||
* | Fix typo in error message | Neal Norwitz | 2003-06-30 | 1 | -1/+1 |
| | |||||
* | Don't require that a RuntimeError is raised when playing a second | Walter Dörwald | 2003-06-30 | 1 | -5/+9 |
| | | | | | | | sound while the first one is still running, as the first one one might already have finished. Fixes part of SF bug #763052. | ||||
* | Fix SF 762891: "del p[key]" on proxy object raises SystemError() | Raymond Hettinger | 2003-06-30 | 1 | -0/+11 |
| | |||||
* | Fix SF #754870, SSL crash interpreter when remote side closes during connect | Neal Norwitz | 2003-06-30 | 1 | -1/+37 |
| | | | | Also fix a memory leak. | ||||
* | restore 2.2 compatibility: | Just van Rossum | 2003-06-29 | 1 | -11/+11 |
| | | | | | - don't use "abc" in aString - don't reorganize extension modules when not using zipimport |