On Tue, Mar 15, 2011 at 7:50 AM, Nick Coghlan <ncoghlan at gmail.com> wrote: > On Tue, Mar 15, 2011 at 10:27 AM, Greg Ewing > <greg.ewing at canterbury.ac.nz> wrote: >> Maybe this will be the killer app for the "or" enhancement >> to the import statement. :-) > > Except that won't help, since even if it were added right now, pre-3.3 > compatible code couldn't use it :) or if you backport it, we could add a new fallback ;) try: from __future__ import or_importer except ImportError: XXX <-- previous proposal else: or based proposal > > Cheers, > Nick. > > -- > Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: http://mail.python.org/mailman/options/python-dev/ziade.tarek%40gmail.com > -- Tarek Ziadé | http://ziade.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