[issue6975] symlinks incorrectly resolved on Linux

2013-01-09 Thread Georg Brandl
Georg Brandl added the comment: I'd like to see a review first. I don't have time to do it myself right now though. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975

[issue6975] symlinks incorrectly resolved on Linux

2013-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If no one objects I will commit this next week. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___

[issue6975] symlinks incorrectly resolved on Linux

2013-01-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: OK. Perhaps I will prepare similar patches for ntpath and macpath. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___

[issue6975] symlinks incorrectly resolved on Linux

2013-01-09 Thread Hynek Schlawack
Hynek Schlawack added the comment: I will review this first thing tomorrow. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___

[issue6975] symlinks incorrectly resolved on Linux

2012-12-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Antoine, how about this mosquito? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___

[issue6975] symlinks incorrectly resolved on Linux

2012-12-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___

[issue6975] symlinks incorrectly resolved on Linux

2012-10-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Previous patches contain redundant code, are not protected from all symlink loops (link - link/x; dir/link - ../dir/link) and when a loop is detected the returned result differs from the current one. The proposed patch solves this issue and some others.

[issue6975] symlinks incorrectly resolved on Linux

2012-10-23 Thread Kimmo Mustonen
Kimmo Mustonen added the comment: Tried it out and it seemed to fix the issue. Ported the patch to python3. -- nosy: +tzimmo Added file: http://bugs.python.org/file27668/issue6975_py3.patch ___ Python tracker rep...@bugs.python.org

[issue6975] symlinks incorrectly resolved on Linux

2012-09-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___ Python-bugs-list

[issue6975] symlinks incorrectly resolved on Linux

2012-06-26 Thread Ben Longbons
Ben Longbons b.r.longb...@gmail.com added the comment: After filing a duplicate, issue 15196, I analyzed this: What happens: test/one/that_dir test/one/../two/this_dir/this_dir/this_dir/this_dir test/two/this_dir/this_dir/this_dir/this_dir test/two/this_dir/this_dir/this_dir/../two

[issue6975] symlinks incorrectly resolved on Linux

2012-06-26 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +hynek, pitrou, r.david.murray versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___

[issue6975] symlinks incorrectly resolved on Linux

2010-07-22 Thread Brett Cannon
Changes by Brett Cannon br...@python.org: -- nosy: -brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___ Python-bugs-list

[issue6975] symlinks incorrectly resolved on Linux

2010-07-21 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: swarecki or markon, are either of you interested in following up this issue? -- nosy: +BreamoreBoy versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker

[issue6975] symlinks incorrectly resolved on Linux

2009-10-18 Thread Marco Buccini
Marco Buccini marcu...@gmail.com added the comment: Thanks for looking deeper into it. I would like to check the solution ASAP. We have really crazy dir structure which can catch a lot of the unexpected problems with paths, links, circular links etc. Oh well, so you can see if the patch works

[issue6975] symlinks incorrectly resolved on Linux

2009-10-17 Thread Marco Buccini
Changes by Marco Buccini marcu...@gmail.com: -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___ ___ Python-bugs-list

[issue6975] symlinks incorrectly resolved on Linux

2009-10-17 Thread Marco Buccini
Marco Buccini marcu...@gmail.com added the comment: I've just found a similar bug: http://bugs.python.org/issue1646838 However, does os.path.realpath's behavior have to be as the one specified by the POSIX standard ( http://www.kernel.org/doc/man-pages/online/pages/man3/realpath.3.html )? If we

[issue6975] symlinks incorrectly resolved on Linux

2009-10-17 Thread Sylwester Warecki
Sylwester Warecki sware...@cox.net added the comment: Marco, Thanks for looking deeper into it. I would like to check the solution ASAP. We have really crazy dir structure which can catch a lot of the unexpected problems with paths, links, circular links etc. Should I expect the new version to

[issue6975] symlinks incorrectly resolved on Linux

2009-10-16 Thread Marco Buccini
Marco Buccini marcu...@gmail.com added the comment: I've provided a patch. I've also added a new test, and it passes. -- keywords: +patch nosy: +markon Added file: http://bugs.python.org/file15150/issue6975.patch ___ Python tracker

[issue6975] symlinks incorrectly resolved on Linux

2009-10-16 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___

[issue6975] symlinks incorrectly resolved on Linux

2009-09-22 Thread Sylwester Warecki
New submission from Sylwester Warecki sware...@cox.net: Hi The behavior of os.realpath function on Linux is different from the one presented by the system. Although the path (pointing to the linked dir) is correct and is recognized by os.path.exists once it is resolved by the realpath() it

[issue6975] symlinks incorrectly resolved on Linux

2009-09-22 Thread Sylwester Warecki
Sylwester Warecki sware...@cox.net added the comment: Hi I meant of course os.path.realpath() Sylwester -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6975 ___