Issue 19223: Add 'x' mode to bz2.open() (original) (raw)

Issue19223

Created on 2013-10-10 21:34 by oylenshpeegul, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch.bz2.py oylenshpeegul,2013-10-10 21:34 Patch to allow option 'x' for the mode.
add_x_mode_to_bz2.patch vajrasky,2013-10-13 05:05 Added test to Tim Heaney's work review
add_x_mode_to_bz2_v2.patch vajrasky,2013-10-13 06:53 review
Messages (4)
msg199418 - (view) Author: Tim Heaney (oylenshpeegul) Date: 2013-10-10 21:34
This is analogous to , 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 through, all will be well.
msg199655 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-10-13 05:05
Added test.
msg199658 - (view) Author: Vajrasky Kok (vajrasky) * Date: 2013-10-13 06:53
Added doc.
msg200313 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-18 22:11
New changeset 5abc04e6579b by Nadeem Vawda in branch 'default': Issue #19223: Add support for the 'x' mode to the bz2 module. http://hg.python.org/cpython/rev/5abc04e6579b
History
Date User Action Args
2022-04-11 14:57:51 admin set github: 63422
2013-10-18 22:12:46 nadeem.vawda set status: open -> closedassignee: nadeem.vawdaresolution: fixedstage: patch review -> resolved
2013-10-18 22:11:38 python-dev set nosy: + python-devmessages: +
2013-10-13 06:53:27 vajrasky set files: + add_x_mode_to_bz2_v2.patchmessages: +
2013-10-13 05:05:09 vajrasky set files: + add_x_mode_to_bz2.patchnosy: + vajraskymessages: + keywords: + patch
2013-10-12 08:34:13 Arfrever set title: bz2 and 'x' mode open -> Add 'x' mode to bz2.open()stage: patch reviewcomponents: + Library (Lib)versions: - Python 3.3
2013-10-12 00:30:44 terry.reedy set nosy: + nadeem.vawda
2013-10-11 07:43:29 Arfrever set nosy: + Arfrever
2013-10-10 21:34:35 oylenshpeegul create