New submission from Tim Heaney:
I love the 'x' mode open in recent versions of Python. I just discovered that
lzma.open doesn't support it. It seems there's an elif that explicitly checks
the modes allowed. I added "x" and "xb" to the c
Changes by Tim Heaney :
--
versions: +Python 3.3
___
Python tracker
<http://bugs.python.org/issue19201>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Tim Heaney:
This is analogous to issue19201, but for gzip. Recent versions of Python have
an 'x' mode for open, but gzip doesn't support it. It looks like everything is
passed to builtins.open eventually, so if we just allow the 'x' option to pass
New submission from Tim Heaney:
This is analogous to issue19201, but for bz2. Recent versions of Python have an
'x' mode for open, but bz2 doesn't support it. It looks like everything is
passed to builtins.open eventually, so if we just allow the 'x' option to pass
Tim Heaney added the comment:
Okay, I just made similar issues for gzip (issue19222) and bz2
(issue19223). It's weird how different these three patches are! We're
essentially doing the same thing: "please allow the x option to pass
through to builtins.open." Why don't