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