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 jcea
Recipients jcea, loewis, movement, pitrou
Date 2012-11-04.01:56:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351994178.43.0.5500477123.issue11016@psf.upfronthosting.co.za>
In-reply-to
Content
After reviewing the code, I agree with Martin v. Löwis that "stat.py" is a joke. Neither can we trust the numerical constants (each OS is free to choose a different meaning) neither the code in "filemode()" can cope with modes with more than a bit active (like DOORS).

I think all this code should be moved to a C module, able to access the underlining real constant definitions.

What do you think?.

Time to deprecate this and move the functionality into posix module, as suggested by Martin?.
History
Date User Action Args
2012-11-04 01:56:18jceasetrecipients: + jcea, loewis, pitrou, movement
2012-11-04 01:56:18jceasetmessageid: <1351994178.43.0.5500477123.issue11016@psf.upfronthosting.co.za>
2012-11-04 01:56:18jcealinkissue11016 messages
2012-11-04 01:56:17jceacreate