Richard Milne added the comment:
I've added some changes to the module which (I believe) not only fix this bug,
but add the reverse function, converting a permission string to a number.
The diff was made against Lib/stat.py @ 84234:f32dad3a243e, which was the most
recent version of the f
Richard Milne added the comment:
I already see my name change will cause problems. The tarfile.py
(Lib/tarfile.py:277) module relies on the function being named 'filemode'.
As the stat.filemode function is relatively new, I don't know how many other
modules rely on it. I c
New submission from Richard Milne:
Reading the pkzip APPNOTE and the documentation for the zipfile module, I was
under the impression that I could set the DEFLATE compression level, on a
per-file basis, for each file added to an archive, by setting the appropriate
bits in zipinfo.flag_bits