Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with

imp.reload().  Patch by Thomas Kluyver.
This commit is contained in:
Serhiy Storchaka 2015-03-11 17:31:33 +02:00
commit ca8b64461d
5 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
_orig_open = open
from builtins import open as _orig_open
class _BkFile:
def __init__(self, file, mode, bufsize):