Modules that provide differing functionality amongst different Python versions...

Aahz aahz at pythoncraft.com
Sun Apr 21 13:35:09 EDT 2002


In article <304d20df.0204210629.3f2b4d58 at posting.google.com>,
Allan Crooks <googlegroups at sixtyten.org> wrote:
>
>Another thought I've had is doing it by specifying, say for module
>'x', having modules 'x_20', 'x_21', 'x_22', with x simply finding out
>what versions of Python it is running on, and then compiling all
>modules it can deal with, and then importing all objects into it's
>namespace.

Yup.  But do it with a package.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

What if there were no rhetorical questions?



More information about the Python-list mailing list