Dec. 28, 2010
9:04 p.m.
Author: brian.curtin Date: Wed Dec 29 03:04:28 2010 New Revision: 87561 Log: Fix #9333 on Windows XP, where os.symlink is not a possibility. Modified: python/branches/py3k/Lib/test/support.py Modified: python/branches/py3k/Lib/test/support.py ============================================================================== --- python/branches/py3k/Lib/test/support.py (original) +++ python/branches/py3k/Lib/test/support.py Wed Dec 29 03:04:28 2010 @@ -1422,7 +1422,7 @@ try: os.symlink(TESTFN, TESTFN + "can_symlink") can = True - except OSError: + except (OSError, NotImplementedError): can = False _can_symlink = can return can