[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2011-10-21 Thread Jason Howlett
Jason Howlett added the comment: Confirmed. The problem exists in 3.2.2 also. -- ___ Python tracker <http://bugs.python.org/issue13184> ___ ___ Python-bugs-list m

[issue13184] Multi-layered symlinks to python cause runtime error. sys.path is malformed.

2011-10-15 Thread Jason Howlett
Jason Howlett added the comment: Here is a proposed patch that solves the problem I described. Hopefully someone more familiar with Module/gethpath.c can make sure that it is ok and make improvements if needed. -- keywords: +patch title: Multi-layered symlinks cause runtime error

[issue13184] Multi-layered symlinks cause runtime error. sys.path is malformed.

2011-10-14 Thread Jason Howlett
New submission from Jason Howlett : This error is observed in Python 2.7.2. Steps to recreate problem: 1) Create directory ~/pytest. 2) Untar Python 2.7.2 sources into ~/pytest 3) configure, build, and install with --prefix=~/pytest/pyinstall 4) mkdir -p ~/pytest/other/bin 5) cd ~/pytest/other