@@ -5,6 +5,22 @@ Core language, builtins, and interpreter
55
66Standard library
77
8+ - pyexpat now detects the expat version if expat.h defines it. A
9+ number of additional handlers are provided, which are only available
10+ since expat 1.95. In addition, the methods SetParamEntityParsing and
11+ GetInputContext of Parser objects are available with 1.95.x
12+ only. Parser objects now provide the ordered_attributes and
13+ specified_attributes attributes. A new module expat.model was added,
14+ which offers a number of additional constants if 1.95.x is used.
15+
16+ - xml.dom offers the new functions registerDOMImplementation and
17+ getDOMImplementation.
18+
19+ - xml.dom.minidom offers a toprettyxml method. A number of DOM
20+ conformance issues have been resolved. In particular, Element now
21+ has an hasAttributes method, and the handling of namespaces was
22+ improved.
23+
824Windows changes
925
1026- Build: Subproject _test (effectively) renamed to _testcapi.
@@ -122,6 +138,12 @@ Standard library
122138
123139- Removed the obsolete soundex module.
124140
141+ - xml.dom.minidom now uses the standard DOM exceptions. Node supports
142+ the isSameNode method; NamedNodeMap the get method.
143+
144+ - xml.sax.expatreader supports the lexical handler property; it
145+ generates comment, startCDATA, and endCDATA events.
146+
125147Windows changes
126148
127149- Build procedure: the zlib project is built in a different way that
@@ -374,6 +396,26 @@ Standard library
374396 the caller. This is intended only as a building block for
375397 higher-level mechanisms such as string interpolation.
376398
399+ - The pyexpat module supports a number of new handlers, which are
400+ available only in expat 1.2. If invocation of a callback fails, it
401+ will report an additional frame in the traceback. Parser objects
402+ participate now in garbage collection. If expat reports an unknown
403+ encoding, pyexpat will try to use a Python codec; that works only
404+ for single-byte charsets. The parser type objects is exposed as
405+ XMLParserObject.
406+
407+ - xml.dom now offers standard definitions for symbolic node type and
408+ exception code constants, and a hierarchy of DOM exceptions. minidom
409+ was adjusted to use them.
410+
411+ - The conformance of xml.dom.minidom to the DOM specification was
412+ improved. It detects a number of additional error cases; the
413+ previous/next relationship works even when the tree is modified;
414+ Node supports the normalize() method; NamedNodeMap, DocumentType and
415+ DOMImplementation classes were added; Element supports the
416+ hasAttribute and hasAttributeNS methods; and Text supports the splitText
417+ method.
418+
377419Build issues
378420
379421- For Unix (and Unix-compatible) builds, configuration and building of
0 commit comments