On Sun, Jun 4, 2017 at 6:51 PM, Guido van Rossum <gu...@python.org> wrote:

> I really don't want people to start using the "from . import foo" idiom
> for their first steps into programming. It seems a reasonable "defensive
> programming" maneuver  to put in scripts and apps made by professional
> Python programmers for surprise-free wide distribution, but (like many of
> those) should not be part of the learning experience.


At the same time, someday you may want the support for 2.7-kind-of issues
to stop.

Requiring "from" (or other ways to make the source of the import
unambiguous) is common in programming languages.

Cheers,
-- 
Juancarlo *Añez*
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to