[issue6975] symlinks incorrectly resolved on Linux

2009-10-17 Thread Sylwester Warecki
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

[issue6975] symlinks incorrectly resolved on Linux

2009-09-22 Thread Sylwester Warecki
Sylwester Warecki added the comment: Hi I meant of course os.path.realpath() Sylwester -- ___ Python tracker <http://bugs.python.org/issue6975> ___ ___ Pytho

[issue6975] symlinks incorrectly resolved on Linux

2009-09-22 Thread Sylwester Warecki
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

[issue2237] Inconsistent variable lookup

2008-03-04 Thread Sylwester Warecki
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