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 georg.brandl
Recipients Fixpythonbugs, georg.brandl, ncoghlan, r.david.murray
Date 2013-01-03.14:01:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357221665.8.0.790523934634.issue16846@psf.upfronthosting.co.za>
In-reply-to
Content
David, the "issue" is that Python only allows relative imports within packages.  The OP wants to have a.py and b.py in the same directory and then be able to said "from . import b" in the a module.

This is a design decision and will not change without a PEP.
History
Date User Action Args
2013-01-03 14:01:05georg.brandlsetrecipients: + georg.brandl, ncoghlan, r.david.murray, Fixpythonbugs
2013-01-03 14:01:05georg.brandlsetmessageid: <1357221665.8.0.790523934634.issue16846@psf.upfronthosting.co.za>
2013-01-03 14:01:05georg.brandllinkissue16846 messages
2013-01-03 14:01:05georg.brandlcreate