[XML-SIG] pyexpat v. xml.parsers.expat ?

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Fri, 22 Sep 2000 22:19:04 +0200

> If the DLL name is hidden from the user then why not use pyexpat? 

It's not just a DLL name - it also is a module name. On Unix
installation, it often won't even come as a separate file, but users
will still need to do

import pyexpat

to get hold of it.

> It has the virtue that in flat-namespace library environments like
> Windows, nobody else is going to make a library with the same
> name. Whereas _expat would be perfectly reasonable for a TCL or Perl
> DLL that also embeds expat.

That is efficiently avoided by calling it expat.pyd, or expatmodule.so
on Unix.