This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients christian.heimes, ethan.furman, vstinner
Date 2013-06-22.23:18:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371943088.92.0.110878699247.issue18281@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting commit:

changeset:   76949:492e6c6a01bb
user:        Giampaolo Rodola' <g.rodola@gmail.com>
date:        Tue May 15 15:30:25 2012 +0200
files:       Doc/library/stat.rst Doc/whatsnew/3.3.rst Lib/stat.py Lib/tarfile.py Lib/test/test_stat.py Misc/NEWS
description:
#14807: move undocumented tarfile.filemode() to stat.filemode(). Add tarfile.filemode alias with deprecation warning.

> I would like to replace them with values from the stat module

I would prefer to simply drop all these constants. None is used by the tarfile module. *If* an application uses tarfile to get stat constants, this application must be fixed to use the stat module which contain thse constants since the creation of the stat module, something like 23 years ago...

changeset:   20:118545312f3b
branch:      legacy-trunk
user:        Guido van Rossum <guido@python.org>
date:        Sun Oct 21 16:17:08 1990 +0000
files:       Lib/stat.py
description:
Initial revision
History
Date User Action Args
2013-06-22 23:18:08vstinnersetrecipients: + vstinner, christian.heimes, ethan.furman
2013-06-22 23:18:08vstinnersetmessageid: <1371943088.92.0.110878699247.issue18281@psf.upfronthosting.co.za>
2013-06-22 23:18:08vstinnerlinkissue18281 messages
2013-06-22 23:18:08vstinnercreate