Stefan Behnel schrieb am 22.08.2016 um 08:03: > Steven D'Aprano schrieb am 22.08.2016 um 07:35: >> if sys.version < '3': >> import mymodule2 as mymodule >> else: >> import mymodule3 as mymodule > > This condition is going to fail when Python 30.0 comes out.
Oh, sorry - make that Python 10.0, that's way closer! See? I got it wrong because I failed to understand your hugely obfuscated code! ;) Stefan -- https://mail.python.org/mailman/listinfo/python-list