make operations on closed dumb databases raise a consistent exception (closes #19385)

Patch by Claudiu Popa.
This commit is contained in:
Benjamin Peterson 2014-04-26 16:56:52 -04:00
parent d4992dccfb
commit e3083d3ad5
3 changed files with 40 additions and 4 deletions

View file

@ -39,6 +39,9 @@ Core and Builtins
Library
-------
- Issue #19385: Make operations on a closed dbm.dumb database always raise the
same exception.
- Issue #21207: Detect when the os.urandom cached fd has been closed or
replaced, and open it anew.