[Python-Dev] lzma and 'x' mode open (original) (raw)
Tim Heaney theaney at gmail.com
Wed Oct 9 02:49:17 CEST 2013
- Previous message: [Python-Dev] PEP 457: Syntax For Positional-Only Parameters
- Next message: [Python-Dev] lzma and 'x' mode open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20131008/7275b79b/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: patch.lzma.py Type: application/octet-stream Size: 464 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20131008/7275b79b/attachment.obj>
- Previous message: [Python-Dev] PEP 457: Syntax For Positional-Only Parameters
- Next message: [Python-Dev] lzma and 'x' mode open
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]