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/2002-May/024758.html below:

[Python-Dev] Single .py file contains submodule?

[Python-Dev] Single .py file contains submodule? [Python-Dev] Single .py file contains submodule?M.-A. Lemburg mal@lemburg.com
Fri, 31 May 2002 09:42:38 +0200
Kevin Butler wrote:
> Guido wrote:
>  > (Barry prefers that there's only one class per file; fortunately I
>  > don't have that hangup. :-)
> 
> So how about a single .py file containing a module and one-or-more 
> submodules? (Sounds like Barry will definitely not like it...  ;-) )
> 
> Specifically, I wanted to allow easy isolated import of the PyUnit 
> assertion functions, something like:
> 
> from unittest.assertions import *

That's bad style (at least for modules which don't only include
constants). Why would you want to enable this ?

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/
Meet us at EuroPython 2002:                 http://www.europython.org/





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