[issue4489] shutil.rmtree is vulnerable to a symlink attack
Éric Araujo
report at bugs.python.org
Fri Oct 7 19:35:40 CEST 2011
Éric Araujo <merwok at netwok.org> added the comment:
I made another review but my mail was rejected.
http://bugs.python.org/review/4489/diff/3383/10563#newcode319
Lib/test/test_shutil.py:319: @unittest.skipIf(threading == None,
'requires threading')
You can just say skipUnless(threading, 'msg')
http://bugs.python.org/review/4489/diff/3383/10563#newcode344
Lib/test/test_shutil.py:344: raise
Shouldn’t this use self.fail?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4489>
_______________________________________
More information about the Python-bugs-list
mailing list