Message220249
I noticed that while lzma and bz2 already support the "x" (create a new file, raise if it already exists) flag, zipfile and tarfile don't know about it yet. It would be an useful addition, just as it is useful for regular open.
A quick look at both modules show that this likely only requires a little bit more than updating the checks in the corresponding constructors to allow "x" mode, as the modes are passed (nearly) transparently to the open() builtin. |
|
Date |
User |
Action |
Args |
2014-06-11 10:26:20 | Antony.Lee | set | recipients:
+ Antony.Lee |
2014-06-11 10:26:20 | Antony.Lee | set | messageid: <1402482380.66.0.687307266587.issue21717@psf.upfronthosting.co.za> |
2014-06-11 10:26:20 | Antony.Lee | link | issue21717 messages |
2014-06-11 10:26:20 | Antony.Lee | create | |
|