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 pitrou
Recipients draghuram, ocean-city, pitrou
Date 2008-08-18.14:28:15
SpamBayes Score 0.0010798082
Marked as misclassified No
Message-id <>
According to the aforementioned bug report, we should also add a test
for e.winerror == 5. Chances are that other cases will arise one day or

Since the purpose of the test is, allegedly, to "Verify that an open
file can be stat'ed", it may be simpler to create and open a file
ourselves (test_support.TESTFN being an obvious candidate :-)), and
check that it can be stat'ed. Expecting to be able to access
C:\pagefile.sys sounds as "right" as doing the same with, say,
/etc/passwd under Linux.

(and, incidentally, creating the file ourselves means the test will stop
being Windows-specific)
Date User Action Args
2008-08-18 14:28:16pitrousetrecipients: + pitrou, ocean-city, draghuram
2008-08-18 14:28:16pitrousetmessageid: <>
2008-08-18 14:28:15pitroulinkissue3580 messages
2008-08-18 14:28:15pitroucreate