Message191698
My changeset e5427b0b2bf7 is not enough: "import _stat" still fail on Windows. See for example:
http://buildbot.python.org/all/builders/AMD64%20Windows7%20SP1%203.x/builds/2164/steps/test/logs/stdio
======================================================================
ERROR: test_directory (test.test_stat.TestFilemodeCStat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_stat.py", line 128, in test_directory
st_mode, modestr = self.get_mode()
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_stat.py", line 67, in get_mode
modestr = self.statmod.filemode(st_mode)
AttributeError: 'NoneType' object has no attribute 'filemode'
======================================================================
ERROR: test_mode (test.test_stat.TestFilemodeCStat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_stat.py", line 119, in test_mode
st_mode, modestr = self.get_mode()
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_stat.py", line 67, in get_mode
modestr = self.statmod.filemode(st_mode)
AttributeError: 'NoneType' object has no attribute 'filemode'
======================================================================
ERROR: test_module_attributes (test.test_stat.TestFilemodeCStat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_stat.py", line 169, in test_module_attributes
modvalue = getattr(self.statmod, key)
AttributeError: 'NoneType' object has no attribute 'ST_DEV' |
|
Date |
User |
Action |
Args |
2013-06-23 13:33:40 | vstinner | set | recipients:
+ vstinner, loewis, jcea, pitrou, movement, giampaolo.rodola, christian.heimes, r.david.murray, neologix, python-dev, dilettant |
2013-06-23 13:33:40 | vstinner | set | messageid: <1371994420.8.0.873399913803.issue11016@psf.upfronthosting.co.za> |
2013-06-23 13:33:40 | vstinner | link | issue11016 messages |
2013-06-23 13:33:40 | vstinner | create | |
|