[XML-SIG] Expat 1.95.4
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 11 Jul 2002 22:38:13 -0400
Thomas B. Passin writes:
> If there is any potential problem with compatibility - someone using the new
> expat with older Python code or vice-versa - would it be possible for for a
> program to do version checking to learn if it is using a compatible version?
Absolutely:
>>> from xml.parsers import expat
>>> expat.EXPAT_VERSION
'1.95.2'
>>> expat.version_info
(1, 95, 2)
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at Zope Corporation