PEP: import version
Christophe Cavalaria
chris.cavalaria at free.fr
Tue May 18 14:44:22 EDT 2004
David Fraser wrote:
> Have you actually used it extensively? If so, I doubt you would be
> saying this...
> wxWiindows (now wxWidgets) doesn't have aconstantly mutating API.
> But the new major revision does have some changes. The point is you can
> still get programs to work with both versions, so you don't need to have
> a new name.
Sorry but breaking existing code with some change and calling that a minor
version upgrade not worth a new name qualifies for my definition of a
constantly mutating API ;)
> But if a program does rely on a particular version, it would
> be nice to have a way to specify it.
Yes, and why couldn't you do it like that :
import wxPython24 as wxPython
More information about the Python-list
mailing list