[XML-SIG] xml-package comments

Rob Tillotson rob@io.com
22 Jun 1998 10:36:02 -0500


Andrew Kuchling <akuchlin@cnri.reston.va.us> writes:
> 	I think dropping them into the standard Python library
> directory is evil; re-install it, and your XML changes have gone.

Well, I did say "or a reasonable facsimile" *grin*  (My Debian package
will continue to put them in the main library too, but only because
the packaging system deals with this problem.)

There ought to be a way to do this without modifying the way sys.path
is constructed and without touching the standard library, but since
there apparently isn't, I guess we have to live with manually adding
stuff to sys.path or importing "xml.parsers.xmllib" or something
similar.

> Unfortunately, unless Guido's essay on 1.5 packages is out of date,
> the directories in .pth files are added to the end of sys.path, and
> can't therefore can't override

Looking at $(python_lib)/site.py, it does appear to still be the case.
There ought to be a way to add stuff to the beginning of the path too,
but using .pth files is already gross enough without making them more
complicated :)

--Rob

-- 
Rob Tillotson  N9MTB			Internet: rob@io.com