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 loewis
Recipients brian.curtin, jkloth, loewis, pitrou, tim.golden
Date 2012-08-04.16:34:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344098057.17.0.326039220619.issue15556@psf.upfronthosting.co.za>
In-reply-to
Content
Why do you think the behavior is broken? It looks right to me - it's not possible to get file information for a file that is scheduled for deletion.

ISTM that rather os.path.exists has non-intuitive behavior; it shouldn't infer from the PermissionError that the file does not exist, but that it is not able to tell.

However, this is not a bug, but documented behavior, see

http://docs.python.org/library/os.path.html#os.path.exists
History
Date User Action Args
2012-08-04 16:34:17loewissetrecipients: + loewis, pitrou, tim.golden, jkloth, brian.curtin
2012-08-04 16:34:17loewissetmessageid: <1344098057.17.0.326039220619.issue15556@psf.upfronthosting.co.za>
2012-08-04 16:34:16loewislinkissue15556 messages
2012-08-04 16:34:16loewiscreate