A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-February/012483.html below:

[Python-Dev] Showstopper in import?

[Python-Dev] Showstopper in import? [Python-Dev] Showstopper in import?Skip Montanaro skip@mojam.com (Skip Montanaro)
Fri, 2 Feb 2001 11:14:51 -0600 (CST)
    MAL> Even though I agree that "from x import *" is bad style, it is
    MAL> quite common in testing code or code which imports a set of symbols
    MAL> from generated modules or modules containing only constants
    MAL> e.g. for protocols, error codes, etc.

In fact, the entire exercise of making "from x import *" obey __all__ when
it's present is to at least reduce the "badness" of this bad style.

Skip




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