Ezio Melotti added the comment:

Now the test (see Lib/test/test_os.py:470) has been changed to:

try:
    os.stat(r"c:\pagefile.sys")
except FileNotFoundError:
    pass # file does not exist; cannot run test
except OSError as e:
    self.fail("Could not stat pagefile.sys")

so this should work properly now.

I can't find the code changed by the second patch in Modules/posixmodule.c, so 
I'm going to close this issue as out of date.

----------
nosy: +ezio.melotti
resolution:  -> out of date
stage: test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1709112>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to