9bd44d6dab214ab17c5505aa445388ccf8695c87 |
|
02-Dec-2016 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #28847: dubmdbm no longer writes the index file in when it is not changed and supports reading read-only files.
/external/python/cpython2/Lib/dumbdbm.py
|
1aa2c0f073bdbed4fa824591d53e20bbf3d01add |
|
10-Apr-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #23865: close() methods in multiple modules now are idempotent and more robust at shutdown. If needs to release multiple resources, they are released even if errors are occured.
/external/python/cpython2/Lib/dumbdbm.py
|
c769040100c3957446acea6efed5c9ad4a552cf2 |
|
15-Feb-2015 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #22885: Fixed arbitrary code execution vulnerability in the dumbdbm module. Original patch by Claudiu Popa.
/external/python/cpython2/Lib/dumbdbm.py
|
33ad0968eb624d22075d567123c52f62e7184d8d |
|
25-Jun-2014 |
Serhiy Storchaka <storchaka@gmail.com> |
Issue #21729: Used the "with" statement in the dbm.dumb module to ensure files closing. Patch by Claudiu Popa.
/external/python/cpython2/Lib/dumbdbm.py
|
f733abb7831d6566cb0fccd0550d58ec3b7f05a4 |
|
30-Jan-2007 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/dumbdbm.py
|
9ef0ef5b729b88491be1d28ab46248b645645c44 |
|
22-Dec-2006 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #802128 continued] Modify mode depending on the process umask. Is there really no other way to read the umask than to set it? Hope this works on Windows...
/external/python/cpython2/Lib/dumbdbm.py
|
dc26758ffeb33f6d59cb30b0019da9252e0cea1c |
|
22-Dec-2006 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #802128] Make the mode argument of dumbdbm actually work the way it's described, and add a test for it. 2.5 bugfix candidate, maybe; arguably this patch changes the API of dumbdbm and shouldn't be added in a point-release.
/external/python/cpython2/Lib/dumbdbm.py
|
ecdad8575ea0825f6cf6057906afd0fc94a375fc |
|
07-Jun-2005 |
Andrew M. Kuchling <amk@amk.ca> |
[Bug #1172763] dumbdbm uses eval() on lines, so it chokes if there's an extra \r on the end of a line; fixed by stripping off trailing whitespace.
/external/python/cpython2/Lib/dumbdbm.py
|
6d06815b562e1540ee334d30953354210dfebd24 |
|
14-Jul-2003 |
Skip Montanaro <skip@pobox.com> |
Give dumbdbm a sync() method which Shelve can call. Should solve some database corruption problems with Spambayes.
/external/python/cpython2/Lib/dumbdbm.py
|
7a6c733c3b8ee131d7860ecb0877837e412c2959 |
|
13-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
Make close() identical to __del__() for a dumbdbm database. Make closing idempotent (it used to raise a nuisance exception on the 2nd close attempt). Bugfix candidate? Probably, but arguable.
/external/python/cpython2/Lib/dumbdbm.py
|
0320464583957258031ebee1b8897343211e4339 |
|
13-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
Repaired typos in comments.
/external/python/cpython2/Lib/dumbdbm.py
|
d7472ec13a65c6c5ff00365b1477677d1fecbb3c |
|
13-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
Fixed critical shutdown race in _Database._commit. Related to SF patch 723231 (which pointed out the problem, but didn't fix it, just shut up the warning msg -- which was pointing out a dead- serious bug!). Bugfix candidate.
/external/python/cpython2/Lib/dumbdbm.py
|
1d8d729af80c7d45161f20a40428d26698c11af8 |
|
13-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
More comments about why not closing a dumddbm properly can be a disaster.
/external/python/cpython2/Lib/dumbdbm.py
|
3898a70bcf3be9e21911cd7b99bb498d45f03789 |
|
12-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
_commit(): Modernization.
/external/python/cpython2/Lib/dumbdbm.py
|
7dfd5701b20c3566166e148f77591a2912164221 |
|
12-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
There's a persistent rumor on the spambayes mailing list that dumbdbm 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.
/external/python/cpython2/Lib/dumbdbm.py
|
ef6573e52946c70778e29e3b33d61a8a0c6e4052 |
|
11-Jul-2003 |
Tim Peters <tim.peters@gmail.com> |
__setitem__: Use integer division for computing # of blocks.
/external/python/cpython2/Lib/dumbdbm.py
|
2dd1ed69b425d2f2ac8152548c7581aa1f01216d |
|
28-Jun-2003 |
Raymond Hettinger <python@rcn.com> |
SF 662923: iterator for dbm keys When shelve and the bsdbm where expanded to a full mapping interface, this module was missed.
/external/python/cpython2/Lib/dumbdbm.py
|
f421e81e4112809380542af378575756247eba00 |
|
01-Mar-2003 |
Neal Norwitz <nnorwitz@gmail.com> |
Fix comment, mode really is used
/external/python/cpython2/Lib/dumbdbm.py
|
793d4b49361a010e4baa485ec77e3adc430f0236 |
|
01-Jun-2002 |
Raymond Hettinger <python@rcn.com> |
SF 563203. Replaced 'has_key()' with 'in'.
/external/python/cpython2/Lib/dumbdbm.py
|
aef22fb9cdf31fb7f0afc28ad049f08a89e23761 |
|
29-May-2002 |
Raymond Hettinger <python@rcn.com> |
Patch 560023 adding docstrings. 2.2 Candidate (after verifying modules were not updated after 2.2).
/external/python/cpython2/Lib/dumbdbm.py
|
e4418609f79b94b91bda2621b5e6f067fb6a31d5 |
|
16-Feb-2002 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/dumbdbm.py
|
ed9057083bcdcce37ddb66bc01e9b7fddb5ea206 |
|
21-Dec-2001 |
Anthony Baxter <anthonybaxter@gmail.com> |
forward-patch from release21-maint branch: Make dumbdbm merely "dumb", rather than "terminally broken". Without this patch, it's almost impossible to use dumbdbm _without_ causing horrible datalossage. With this patch, dumbdbm passes my own horrible torture test, as well as the roundup test suite. dumbdbm really could do with a smidgin of a rewrite or two, but that's not suitable for the release21-maint branch.
/external/python/cpython2/Lib/dumbdbm.py
|
2c8373bc234039fff699df9c28d2cb74efd6a37c |
|
07-Dec-2001 |
Fred Drake <fdrake@acm.org> |
Honor the mode argument to dumbdbm.open(); there is not good reason not to, especially since the documentation described it in detail. This partially closes SF bug #490098.
/external/python/cpython2/Lib/dumbdbm.py
|
e2ae77b8b8a62e648bb1864a9b36ef3280984404 |
|
24-Oct-2001 |
Guido van Rossum <guido@python.org> |
SF patch #474590 -- RISC OS support
/external/python/cpython2/Lib/dumbdbm.py
|
54e54c6877329e105406c48490f218faff59db39 |
|
04-Sep-2001 |
Guido van Rossum <guido@python.org> |
The first batch of changes recommended by the fixdiv tool. These are mostly changes of / operators into //. Once or twice I did more or less than recommended.
/external/python/cpython2/Lib/dumbdbm.py
|
d0cd95ce7febd97683d6e113e1b486b93bcf88eb |
|
19-Jul-2001 |
Martin v. Löwis <martin@v.loewis.de> |
Replace __import__ with import as.
/external/python/cpython2/Lib/dumbdbm.py
|
a7cc69e02ef9ec7014600911a66978898e545cf1 |
|
03-May-2001 |
Fred Drake <fdrake@acm.org> |
Added support for .__contains__(), .__iter__(), .iterkeys().
/external/python/cpython2/Lib/dumbdbm.py
|
d74fb6b12a9a53ce09648484076c84e727561612 |
|
02-Mar-2001 |
Guido van Rossum <guido@python.org> |
RISCOS changes by dschwertberger.
/external/python/cpython2/Lib/dumbdbm.py
|
78349072f7c8f2d3da6f552665f9f381930c3c42 |
|
18-Feb-2001 |
Skip Montanaro <skip@pobox.com> |
removed __all__ from several modules
/external/python/cpython2/Lib/dumbdbm.py
|
eccd02a40d0921fc2953213e71da8a3a79d00e17 |
|
21-Jan-2001 |
Skip Montanaro <skip@pobox.com> |
more __all__ updates
/external/python/cpython2/Lib/dumbdbm.py
|
88869f9787cd4ceb2298e4b13980beb057687824 |
|
15-Jan-2001 |
Tim Peters <tim.peters@gmail.com> |
Whitespace normalization.
/external/python/cpython2/Lib/dumbdbm.py
|
5b7b764afb684d0442b11a1f53428868dc1e5ff4 |
|
11-Dec-2000 |
Guido van Rossum <guido@python.org> |
Apply rstrip() to the lines read from _dirfile in _update(), so that a dumbdbm archive created on Windows can be read on Unix.
/external/python/cpython2/Lib/dumbdbm.py
|
a48dbde93b661372bb82e088672854c258dc6609 |
|
10-Jul-2000 |
Andrew M. Kuchling <amk@amk.ca> |
Patch from Joe Eaton <jeaton@hostway.net> (SF#100741) to fix following problem: There is a silly bug in the fall-back dumbdbm.py database package in the Python 1.5.2 standard distro. This bug causes any changes to an existing item to generate a new key, even when the key already exists. After many updates, the .dir file used by dumbdbm grows to a huge size, and can cause filesystem problems.
/external/python/cpython2/Lib/dumbdbm.py
|
3f36a085feeba6217f791d683021816fa513c01f |
|
27-Apr-1999 |
Guido van Rossum <guido@python.org> |
Cast f.tell() result to int() in _addval(), so it works even on platforms where tell() returns a long. (Perhaps tell() should be fixed too?) Reported by Greg Humphreys.
/external/python/cpython2/Lib/dumbdbm.py
|
22a18904e43c47902ae1e58922abeb87b530b0ae |
|
29-May-1996 |
Guido van Rossum <guido@python.org> |
export error == IOError
/external/python/cpython2/Lib/dumbdbm.py
|
ba426640ddeba29877ce9ebd750864aef7faeef9 |
|
25-Jan-1996 |
Guido van Rossum <guido@python.org> |
fix typo in _setval() return value
/external/python/cpython2/Lib/dumbdbm.py
|
9f824a7984fcd98d00dfc795e6a1d95317fd4b93 |
|
10-Aug-1995 |
Guido van Rossum <guido@python.org> |
Initial revision
/external/python/cpython2/Lib/dumbdbm.py
|