diff options
author | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-04 21:31:20 (GMT) |
---|---|---|
committer | Nadeem Vawda <nadeem.vawda@gmail.com> | 2012-06-04 21:31:20 (GMT) |
commit | aebcdba8297bf5174ecf4e8687ad23883e35b14b (patch) | |
tree | b9b55d8bb72a27f439da47f98d676f56876d8237 /Misc | |
parent | 68721019efb16ba8acad036c331a9a195d6f7da0 (diff) | |
download | cpython-aebcdba8297bf5174ecf4e8687ad23883e35b14b.zip cpython-aebcdba8297bf5174ecf4e8687ad23883e35b14b.tar.gz cpython-aebcdba8297bf5174ecf4e8687ad23883e35b14b.tar.bz2 |
Make BZ2File's fileobj support easier to use.
The fileobj argument was added during the 3.3 development cycle, so this change
does not break backward compatibility with 3.2.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -15,6 +15,9 @@ Core and Builtins Library ------- +- BZ2File.__init__() now accepts a file object as its first argument, rather + than requiring a separate "fileobj" argument. + - gzip.open() now accepts file objects as well as filenames. - Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError |