This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients pitrou, serhiy.storchaka, vajrasky
Date 2013-12-05.14:49:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386254966.39.0.479433021897.issue19887@psf.upfronthosting.co.za>
In-reply-to
Content
Whoa, Serhiy, your patch won't fly on Windows Vista.

For starter, the patch does not use target_is_directory=True option in os.symlink. It needs that option when creating symlink to the directory on Windows Vista.

The maximum depth that pathlib can do on Windows Vista is 4 (Remember, this line: "for depth in 0, 1, 2, 3, 10, 100"?).

More than that:
OSError: [WinError 1921] The name of the file cannot be resolved by the system:
'C:\\Users\\vajrasky\\Code\\cpython\\@test_4220_tmp\\testdir\\link5'

Not sure whether the bug is in pathlib.py or _getfinalpathname (from nt module).
History
Date User Action Args
2013-12-05 14:49:26vajraskysetrecipients: + vajrasky, pitrou, serhiy.storchaka
2013-12-05 14:49:26vajraskysetmessageid: <1386254966.39.0.479433021897.issue19887@psf.upfronthosting.co.za>
2013-12-05 14:49:26vajraskylinkissue19887 messages
2013-12-05 14:49:26vajraskycreate