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 <rep...@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 <rep...@bugs.python.org> > <http://bugs.python.org/issue19201> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19201> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com