Sylwester Warecki 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 generate the
Sylwester Warecki added the comment:
Hi
I meant of course
os.path.realpath()
Sylwester
--
___
Python tracker
<http://bugs.python.org/issue6975>
___
___
Pytho
New submission from Sylwester Warecki :
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 does not exist
New submission from Sylwester Warecki:
Hi!
An example below shows how differently local variables are treated in
case of simple variables and classes. In case of objects the variable
refers to global object, in case of simple number - it refers to a local.
Example 2 shows worse case scenario