Georg Brandl added the comment:

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.

----------
nosy: +georg.brandl, ncoghlan
resolution:  -> rejected
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16846>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to