Author guillaumegirard
Recipients guillaumegirard
Date 2007-10-18.12:47:42
SpamBayes Score 0.461651
Marked as misclassified No
Message-id <1192711662.66.0.399172727466.issue1293@psf.upfronthosting.co.za>
In-reply-to
Content
On win32, the following code:

import sys
sys.path.append('../bar/')
import bar

where the file bar.py is present in ../bar/ will return an import error
"No module named bar". Remove the trailing slash and the bar.py is
imported correctly. The problem is identical with backslash. This code
works in Python 2.4.

Not a very serious bug, but it breaks programs working with Python 2.4.
History
Date User Action Args
2007-10-18 12:47:43guillaumegirardsetspambayes_score: 0.461651 -> 0.461651
recipients: + guillaumegirard
2007-10-18 12:47:42guillaumegirardsetspambayes_score: 0.461651 -> 0.461651
messageid: <1192711662.66.0.399172727466.issue1293@psf.upfronthosting.co.za>
2007-10-18 12:47:42guillaumegirardlinkissue1293 messages
2007-10-18 12:47:42guillaumegirardcreate