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
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
___
___
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
___
Hynek Schlawack added the comment:
I will review this first thing tomorrow.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
Serhiy Storchaka added the comment:
Antoine, how about this mosquito?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
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.
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
Python-bugs-list
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
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
___
Changes by Brett Cannon br...@python.org:
--
nosy: -brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
Python-bugs-list
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
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
Changes by Marco Buccini marcu...@gmail.com:
--
nosy: +brett.cannon
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6975
___
___
Python-bugs-list
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
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
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
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
___
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
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
___
21 matches
Mail list logo