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:18:03 +02:00
parent 13be8c2691
commit cf4a2f29ad
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):