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

holger krekel pyth at devel.trillke.net
Sun Apr 21 14:05:36 EDT 2002


On Sun, Apr 21, 2002 at 01:35:09PM -0400, Aahz wrote:
> 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.

But doesn't this lead to lots of duplicated -hard to maintain-  code?

	Holger





More information about the Python-list mailing list