Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 19 Apr 2005 08:29:10 -0400 From: Jason Tishler To: cygwin AT cygwin DOT com Subject: Re: Symlinks don't work in python??? Message-ID: <20050419122910.GA2772@tishler.net> Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-IsSubscribed: yes Steve, On Fri, Apr 08, 2005 at 01:39:23PM -0400, Steve Ward wrote: > (3) Thinking that the realpath bug might be a key > to the python import-thru-symlinks problem, > I ran a simple test on recent cygwin/python > combinations, finding: > > Cygwin version Python version realpath Import > 1.5.xx: 2.yy: Works? Works? > -------------- -------------- -------- ------ > > 1.5.14 2.4 NO NO > 1.5.13 2.3.4 YES NO > 1.5.14 2.3.4 YES NO > 1.5.12 2.4 NO YES I question the results of the last test case above. I get the following: $ uname -a CYGWIN_NT-5.1 stella 1.5.12(0.116/4/2) 2004-11-10 08:34 ... $ python -V Python 2.4 $ ls -l total 1 lrwxrwxrwx 1 jt None 6 Apr 19 08:24 bar.py -> foo.py -rw-r--r-- 1 jt None 24 Apr 18 20:13 foo.py $ python -c 'import bar' Traceback (most recent call last): File "", line 1, in ? ImportError: No module named bar See my next post... Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/