[issue19201] lzma and 'x' mode open

Tim Heaney report at bugs.python.org
Thu Oct 10 23:45:24 CEST 2013


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 these three modules look more alike?

On Thu, Oct 10, 2013 at 6:31 AM, Vajrasky Kok <report at bugs.python.org>wrote:

>
> Vajrasky Kok added the comment:
>
> Here is the unit test for Tim Heaney's work. There is a test that
> explicitly tests that we get error when opening in 'x' mode. Also, this
> test is only for lzma. I think we should create separate tickets for other
> compression methods.
>
> ----------
> keywords: +patch
> nosy: +vajrasky
> Added file: http://bugs.python.org/file32030/add_x_mode_to_lzma.patch
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue19201>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19201>
_______________________________________


More information about the Python-bugs-list mailing list