[issue1578269] Add os.link() and os.symlink() support for Windows
Jason R. Coombs jar...@jaraco.com added the comment: If I produce a patch for Python 3.1, can this capability possibly be included in the release? Are there any objections to the implementation as found in jaraco.windows? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Martin v. Löwis mar...@v.loewis.de added the comment: With 3.1b1 already released, most likely this is too late for 3.1 (unless there would be a second beta, which is currently not planned). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net: -- nosy: +giampaolo.rodola ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Changes by Antoine Pitrou pit...@free.fr: -- versions: +Python 2.7, Python 3.1 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Sean Reifschneider added the comment: swarren: According to the wikipedi article on junction points: They can only be used on folders, not files. They are being replaced by symbolic links. The latter I take to mean junction points are being phased out, but I couldn't find any information one way or another on it. http://en.wikipedia.org/wiki/NTFS_junction_point -- nosy: +jafo _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1578269 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Stephen Warren added the comment: Hmm. I just tested Accurev - whatever it does, it works for files too. That said, it could be making hard-links, which I guess could be different. Additionally, the sysinternals junction utility doesn't find any junction points when probing the link files. I'll see if I can find out how they implemented it... _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1578269 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Stephen Warren added the comment: It seems that Accurev uses junction points for directories, and hard-links for files. That's probably a little to disparate to implement in Python? Also, I tried sysinternals' junction.exe and whilst it allows one to create junction points that point at files, you can't actually read the file via the junction point - so it does seem that they only work for directories:-( Oh well, lets hope whatever new Vista API exists works better... _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1578269 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Sean Reifschneider added the comment: If the file links are on the same volume, it's probably using hard links. Symbolic links can cross file-systems, of course. So it sounds like the Junction Points aren't going to work to replace symlinks, and they'll be Vista only. _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1578269 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() support for Windows
Stephen Warren added the comment: I'd say that junction points were a great way to expose this feature under Win32 - after all, isn't it specifically what they were designed for? Incidentally, at least one other application uses them for exactly this purpose; a commercial source control tool named Accurev supports checked-in symlinks on Windows as well as *nix etc. The added advantage of junction points over whatever new API Vista exposes is that it'll work on at least XP (maybe even Win2K?) -- nosy: +swarren _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1578269 _ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com