Duncan Booth <[EMAIL PROTECTED]> writes: > The value XML_NAMESPACE was imported from xml.dom, but the xml package is > kind of weird. XML_NAMESPACE defined both in xml.dom and in the > _xmlplus.dom package. The _xmlplus package is conditionally imported by the > xml package, and completely replaces it, but only if _xmlplus is present > and at least version 0.8.4 (older versions are ignored). > > This is precisely the kind of flexibility which gives Python a lot of its > power, but it means that you cannot tell without running the code which > package actually provides xml.dom.
This sounds like the socket module, which is a total mess. Library code should not be written like that. -- http://mail.python.org/mailman/listinfo/python-list