This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author wrobell
Recipients
Date 2005-02-16.17:31:52
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=387193

But the problem is not with naming of my modules/packages
(part about relative import of modules I do understand, of
course), but with script naming.

For example consider script:

  #!/usr/bin/python
   import email
   print 1

And name the script email.py, then run it, please. Python
tries to be too smart (IMHO) and variable sys.path is
polluted with directory of email.py script, therefore
standard email Python package will not be imported.
History
Date User Action Args
2007-08-23 15:37:35adminlinkissue946373 messages
2007-08-23 15:37:35admincreate