A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110936.html below:

[Python-Dev] Allowing import star with namespaces

[Python-Dev] Allowing import star with namespaces [Python-Dev] Allowing import star with namespacesBrendan Moloney moloney at ohsu.edu
Tue Apr 26 19:17:18 CEST 2011
We all know that doing:

> from pkg import *

is bad because it obliterates the 'pkg' namespace. So why not allow something like:

> import pkg.*

This would still be helpful for interactive sessions while keeping namespaces around.

Sorry if this has been brought up before, my searching didn't find anything relevant in the archives.

Thanks,
Brendan
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4