Larry Hastings added the comment:
What does the following script print out?
import os
os.chdir('/tmp')
os.symlink('--success--', 'foo')
print("this should print --success-- :")
print(os.readlink('foo'))
os.unlink('foo')
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15531>
_______________________________________