Jason R. Coombs added the comment:

I've started work on restoring the directory detection in my bitbucket repo 
(https://bitbucket.org/jaraco/cpython-issue13772). I have added a regression 
test to capture the basic failure (where the link is not created in the current 
working directory) as well as a fix. The fix uses the [Microsoft Shell 
Lightweight Utility 
Functions](http://msdn.microsoft.com/en-us/library/bb759844%28v=vs.85%29.aspx) 
which has one benefit of being tested and robust, but has two disadvantages, 
namely:

- it adds a link-time dependency.
- it doesn't support forward-slashes, which the reference implementation does, 
and which I believe the CPython implementation should.

Interestingly, it does detect the '/' character as a separator - it just 
doesn't treat it as one when stripping the trailing path.

Given these disadvantages, I'm inclined to write custom functions to support 
the directory detection. Any suggestions are appreciated.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13772>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to