Double symlinking breaks module import

Andrew Dalke adalke at
Sun Aug 24 05:41:28 CEST 2003

Csaba Henk:
> But
> if I create another symlink ->, and then I invoke
>, I get compliances that mymod is not found.
> Is it a bug or policy?

Python uses the normal file open functions, which automatically
follow links.  It doesn't build in the link following code itself.
I suspect your symlink points to the wrong place.  Can you
cat the file?

                    dalke at

More information about the Python-list mailing list