Atsuo Ishimoto <[email protected]> added the comment:

On Windows, 'target_is_directory' is required for directory symlink.

python -c "import os; os.mkdir('bar'); os.symlink('bar', 'foo', 
target_is_directory=True); print(os.path.isdir('foo'))"
True

Should we automatically specify target_is_directory if target exists and the 
target is a directory?

----------
nosy: +ishimoto

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue15093>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to