[issue19201] lzma and 'x' mode open

2013-10-08 Thread Tim Heaney
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

[issue19201] lzma and 'x' mode open

2013-10-08 Thread Tim Heaney
Changes by Tim Heaney : -- versions: +Python 3.3 ___ Python tracker <http://bugs.python.org/issue19201> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19222] gzip and 'x' mode open

2013-10-10 Thread Tim Heaney
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

[issue19223] bz2 and 'x' mode open

2013-10-10 Thread Tim Heaney
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

[issue19201] lzma and 'x' mode open

2013-10-10 Thread Tim Heaney
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