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 _______________________________________________ Python-Dev mailing list [email protected] http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com
