Re: [Python-Dev] Proposal: Slightly Changed Semantics for from-Import

2008-03-22 Thread Martin v. Löwis
> If a test case is needed I can attach one later on. You should put all this into bugs.python.org, preferably with a patch implementing it also. Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/p

[Python-Dev] Proposal: Slightly Changed Semantics for from-Import

2008-03-22 Thread Armin Ronacher
Hi all, I propose a small change on the "from"-import behavior. Currently there are two ways to import a module name foo from bar. Namely "import foo.bar as bar" and "from foo import bar". The main problem with the second is that it will not work in every situation. Modules are registered wit