[Python-Dev] lzma and 'x' mode open
Eric V. Smith
eric at trueblade.com
Wed Oct 9 03:00:09 CEST 2013
Please open a bug report on bugs.python.org so this doesn't get lost.
--
Eric.
> On Oct 8, 2013, at 8:49 PM, Tim Heaney <theaney at gmail.com> wrote:
>
> 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 choices and now it seems to work as I would like.
>
> <patch.lzma.py>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/eric%2Ba-python-dev%40trueblade.com
More information about the Python-Dev
mailing list