[Python-Dev] lzma and 'x' mode open

2013-10-08 Thread 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 choices and now it
seems to work as I would like.


patch.lzma.py
Description: Binary data
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] lzma and 'x' mode open

2013-10-08 Thread Eric V. Smith
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 thea...@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@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
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] lzma and 'x' mode open

2013-10-08 Thread R. David Murray
On Tue, 08 Oct 2013 20:49:17 -0400, Tim Heaney thea...@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.

Please file an enhancement request at bugs.python.org.

--David
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] lzma and 'x' mode open

2013-10-08 Thread Tim Heaney
Done.

http://bugs.python.org/issue19201

I guess I should have known that. Sorry to bother python-dev with this.
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com