[Python-ideas] Move tarfile.filemode() into stat module (original) (raw)

Giampaolo RodolĂ  g.rodola at gmail.com
Sat May 12 16:29:35 CEST 2012


http://hg.python.org/cpython/file/9d9495fabeb9/Lib/tarfile.py#l304 I discovered this undocumented function by accident different years ago and reused it a couple of times since then. I think that leaving it hidden inside tarfile module is unfortunate. What about moving it into stat module and document it?

Regards,

--- Giampaolo http://code.google.com/p/pyftpdlib/ http://code.google.com/p/psutil/ http://code.google.com/p/pysendfile/



More information about the Python-ideas mailing list