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-March/109283.html below:

[Python-Dev] packaging

[Python-Dev] packaging [Python-Dev] packagingGreg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 15 01:27:09 CET 2011
Antoine Pitrou wrote:

> But doesn't it also mean many setup.py scripts will have very tedious
> import sequences, such as:
> 
> try:
>     from packaging.compiler import FooCompiler
>     from packaging.commands import BarCommand
> except ImportError:
>     try:
>         from distutils2.compiler import FooCompiler
>         from distutils2.commands import BarCommand
 > ...

Maybe this will be the killer app for the "or" enhancement
to the import statement. :-)

-- 
Greg
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