[XML-SIG] Finding _xmlplus in Python 2.3a2
John J Lee
jjl@pobox.com
Mon, 3 Mar 2003 13:51:34 +0000 (GMT)
On 3 Mar 2003, Martin v. [iso-8859-15] L=F6wis wrote:
[...]
> But wouldn't a renaming of the _xmlplus package cause even more
> developer confusion?
No.
:-)
Slightly longer answer: Replacing a complicated, implicit, non-standard
system with a simple, explicit, utterly standard one simplifies things in
the medium term at the cost of some people having to use the usual:
try:
from pyxml.blah import spam
except ImportError:
from xml.rhubarb import eggs # weird old-version PyXML module system
The only hard-to-understand bit about that is the second import, because
the *old* behaviour is hard to understand!
Of course, for people who can upgrade (which is almost everyone,
eventually), it would be simply:
from pyxml.blah import spam
But you know all this, so I wonder why you ask? :-P
John