[XML-SIG] unicode package?

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Wed, 2 Dec 1998 11:51:26 -0500 (EST)


Fred L. Drake writes:
>  Is the unicode/ directory in the xml tree supposed to be a package?
>If so, it needs an __init__.py.  I'd also recommend moving wstrop.*
>into that package.

	At the moment, no.  The modules in unicode/ all get installed
in site-packages, so once installed, they're not associated with the 
XML code at all.

>  The other C modules also should be moved into appropriate
>directories, and not installed in the site-packages/ directory but
>within the xml package at appropriate points.
>  I think the C modules should end up being the following modules:
>
>	intl		xml.unicode.intl
>	pyexpat		xml.parsers.expat
>	sgmlop		xml.parsers._sgmlop
>	wstrop		xml.unicode._wstrop

	This is a good question; should the Unicode support be
included as a subpackage of xml, or should it be a standalone system
that just happens to come with the XML package?  I can see arguments
for both possibilities; what does everyone think?

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
Python is an experiment in how much freedom programmers need. Too much freedom
and nobody can read another's code; too little and expressiveness is
endangered.
    -- Guido van Rossum, 13 Aug 1996