[XML-SIG] PyXML, a modest proposal
John J Lee
jjl@pobox.com
Wed, 26 Feb 2003 21:17:09 +0000 (GMT)
On Mon, 17 Feb 2003, Martijn Faassen wrote:
[...]
> this up. PyXML's _xmlplus strategy is too confusing, and perfect backwards
> compatibility cannot be assured when doing an upgrade anyway, due to the
> issue of bugs and bugfixes, and general minor differences.
[...]
+1 on your proposal from me, FWVLTW. Seems nobody else cares...
It's so trivial to dynamically choose among components in Python that
there is zero point in having a module do it behind your back:
try:
from pyxml import soopadoopa
except ImportError:
from xml import plainold
As Martijn says, it's actually a positive pain that PyXML does so.
Fixing existing code be trivial (barring hacks to the import mechanism).
Or are we overlooking something?
John