History log of /external/python/cpython2/Lib/xml/sax/expatreader.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3234abb9a057beb88faeef96745f8c78772a88c2 06-May-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #24125: Saved error's line and column numbers when an error is occured
during closing expatreader. Fixed a regression introduced in issue #23865.
/external/python/cpython2/Lib/xml/sax/expatreader.py
1aa2c0f073bdbed4fa824591d53e20bbf3d01add 10-Apr-2015 Serhiy Storchaka <storchaka@gmail.com> Issue #23865: close() methods in multiple modules now are idempotent and more
robust at shutdown. If needs to release multiple resources, they are released
even if errors are occured.
/external/python/cpython2/Lib/xml/sax/expatreader.py
8673ab97cc1930f5f2c5d96667386e09d22d60ec 02-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Issue #11159: SAX parser now supports unicode file names.
/external/python/cpython2/Lib/xml/sax/expatreader.py
e71bd81a890cea830681880bc5d7298dd98d71ce 22-Jun-2009 Amaury Forgeot d'Arc <amauryfa@gmail.com> #4490 Fix sample code run by "python -m xml.sax.xmlreader"
/external/python/cpython2/Lib/xml/sax/expatreader.py
5b63acd31e0e40c1a9a9e9762905b0054ff37994 29-Mar-2008 Benjamin Peterson <benjamin@python.org> #2503 make singletons compared with "is" not == or !=
Thanks to Wummel for the patch
/external/python/cpython2/Lib/xml/sax/expatreader.py
fbdeaad06910a50d6f05da177949b9a451a1132a 29-Jul-2006 Fred Drake <fdrake@acm.org> expunge the xmlcore changes:
41667, 41668 - initial switch to xmlcore
47044 - mention of xmlcore in What's New
50687 - mention of xmlcore in the library reference

re-apply xmlcore changes to xml:
41674 - line ending changes (re-applied manually), directory props
41677 - add cElementTree wrapper
41678 - PSF licensing for etree
41812 - whitespace normalization
42724 - fix svn:eol-style settings
43681, 43682 - remove Python version-compatibility cruft from minidom
46773 - fix encoding of \r\n\t in attr values in saxutils
47269 - added XMLParser alias for cElementTree compatibility

additional tests were added in Lib/test/test_sax.py that failed with
the xmlcore changes; these relate to SF bugs #1511497, #1513611
/external/python/cpython2/Lib/xml/sax/expatreader.py
c6730e1772f52b99feaffb95cdb7774905340d52 14-Dec-2005 Fred Drake <fdrake@acm.org> move the xml package implementation to xmlcore, and adjust the tests to
test that package, not the xmlcore/PyXML switcheroo fiasco in the xml
module/package
/external/python/cpython2/Lib/xml/sax/expatreader.py
593d6b311e03b745e7b736f3d72269a684359924 04-Dec-2005 Andrew M. Kuchling <amk@amk.ca> [Bug #1281032] Pass encoding from the input source to pyexpat's ParserCreate()
/external/python/cpython2/Lib/xml/sax/expatreader.py
456ab1d2712dc9cebd878966c8fb16af47ea79f0 06-May-2004 Martin v. Löwis <martin@v.loewis.de> Swap public and system ID in start_doctype_decl. Fixes #780300.
/external/python/cpython2/Lib/xml/sax/expatreader.py
68468eba635570400f607e140425a222018e56f9 27-Feb-2003 Guido van Rossum <guido@python.org> Get rid of many apply() calls.
/external/python/cpython2/Lib/xml/sax/expatreader.py
3f1b5288e51158d60734b434631e5ca9febef916 25-Jan-2003 Martin v. Löwis <martin@v.loewis.de> Merge with PyXML 1.28:
Wrap a lot of long lines.
Clean up a handler for expat.error.

If a lexical handler is set, make sure we call the startDTD() and
endDTD(). If the lexical handler is unset (by setting it to None),
remove the handlers from the underlying pyexpat parser object.
Closes SF bug #485584.

In namespaces mode, make sure we set up the qnames dictionary
correctly for the AttributesNSImpl instance passed to the
start-element-handler.
Closes SF bug #563399.

Support skippedEntity. Fixes #665486.
/external/python/cpython2/Lib/xml/sax/expatreader.py
d1b516c274aa1502514d7b3c51f63894480560e1 30-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Fix spacing.
/external/python/cpython2/Lib/xml/sax/expatreader.py
18476a3740b66cea8ee1dffa820c432a389ba23a 30-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Merge changes from PyXML:
[1.15]
Added understanding of the feature_validation, feature_external_pes,
and feature_string_interning features.
Added support for the feature_external_ges feature.
Added support for the property_xml_string property.
[1.16]
Made it recognize the namespace prefixes feature.
[1.17]
removed erroneous first line
[1.19]
Support optional string interning in pyexpat.
[1.21]
Restore compatibility with versions of Python that did not support weak
references. These do not get the cyclic reference fix, but they will
continue to work as they did before.
[1.22]
Activate entity processing unless standalone.
/external/python/cpython2/Lib/xml/sax/expatreader.py
ab199622905b2621b2ad9abcb324fb5f124cc12f 31-May-2002 Neal Norwitz <nnorwitz@gmail.com> Use more string methods, remove import string
/external/python/cpython2/Lib/xml/sax/expatreader.py
da204daeaa39019f2134166308c5b9cdfa84b84a 04-Apr-2002 Fred Drake <fdrake@acm.org> Not sure why the regression test missed this, but the PyXML tests caught it.
We should get attributes from the right object.
/external/python/cpython2/Lib/xml/sax/expatreader.py
012c81fc9720c8504da73b26f503b0ef8640da19 04-Apr-2002 Fred Drake <fdrake@acm.org> Avoid creating circular references between the ExpatParser and the
ContentHandler. While GC will eventually clean up, it can take longer than
normal for applications that create a lot of strings (or other immutables)
rather without creating many containers.
This closes SF bug #535474.
/external/python/cpython2/Lib/xml/sax/expatreader.py
c974bf4dc2031e8af5c64ac968a4a19054f5b097 31-Jul-2001 Fred Drake <fdrake@acm.org> Get the whitespace right!
/external/python/cpython2/Lib/xml/sax/expatreader.py
e3c37d660f5641f55c12313fde8e20f8178d942a 30-Jul-2001 Jeremy Hylton <jeremy@alum.mit.edu> Ugly fix used when pyexpat is not available.

If pyexpat is not available and more than one attempt is made to load
an expat-based xml parser, an empty xml.parser.expat module will be
created. This empty module will confuse xml.sax.expatreader into
thinking that pyexpat is available.

The ugly fix is to verify that the expat module actually defines the
names that are imported from pyexpat.
/external/python/cpython2/Lib/xml/sax/expatreader.py
fb73bb129b2ccbd9644709ac8eeac1d5e7f0a32d 17-Jun-2001 Martin v. Löwis <martin@v.loewis.de> Synchronize with 1.13 of PyXML:
Allow application to set a new content handler and lex_prop handler during
parsing. Closes bug #433761.
Small hack to make expat be ignored in Jython.
/external/python/cpython2/Lib/xml/sax/expatreader.py
70d39a60a80e2fcf21b05e899d43f6dab49f839e 27-Jan-2001 Martin v. Löwis <martin@v.loewis.de> Re-indent.
/external/python/cpython2/Lib/xml/sax/expatreader.py
0591725bc5947c7b604b6d4bc59b0fc7e45d8070 27-Jan-2001 Martin v. Löwis <martin@v.loewis.de> Synchronize with PyXML 1.10
Break cycle involving expat parser in close().
Add lex handler support to SAX2 pyexpat
/external/python/cpython2/Lib/xml/sax/expatreader.py
16f6329e6153c4b92f2175a5560e372a762befe6 23-Oct-2000 Fred Drake <fdrake@acm.org> Make reindent.py happy (lots of trailing whitespace removed).
/external/python/cpython2/Lib/xml/sax/expatreader.py
d2f5a9ac4b161018945cdb5e5a26a722ae86cdb9 19-Oct-2000 Lars Gustäbel <lars@gustaebel.de> Fixed a bug that caused namespace names to be reported as lists rather
than tuples.
/external/python/cpython2/Lib/xml/sax/expatreader.py
55b4efd034780a069c9bbf5b080a62df32f51441 14-Oct-2000 Lars Gustäbel <lars@gustaebel.de> Fixed minor problem with reset().
/external/python/cpython2/Lib/xml/sax/expatreader.py
04f4943d132d0d5e9829923706a2cb07a2b0ae9f 09-Oct-2000 Martin v. Löwis <martin@v.loewis.de> _exceptions: Format a missing system id as <unknown>.
expatreader: Use the error handler instead of raising exception directly.
/external/python/cpython2/Lib/xml/sax/expatreader.py
2aa93efda0d2b99a48c14cd777e523934bf51aa8 06-Oct-2000 Martin v. Löwis <martin@v.loewis.de> Don't report a final chunk for an external entity parser.
/external/python/cpython2/Lib/xml/sax/expatreader.py
ee1dc157d7f425d8fdd12de098097441b4f17798 06-Oct-2000 Martin v. Löwis <martin@v.loewis.de> Move translation from expat.error to SAXParseException into feed, so that
callers of feed will get a SAXException.
In close, feed the last chunk first before calling endDocument, so that
the parser may report errors before the end of the document. Don't do
anything in a nested parser.
Don't call endDocument in parse; that will be called in close.
Use self._source for finding the SystemID; XML_GetBase will be cleared in
case of an error.
/external/python/cpython2/Lib/xml/sax/expatreader.py
962c9e7f9188c75a3889fcc7fd29fb1626e278d0 06-Oct-2000 Martin v. Löwis <martin@v.loewis.de> Add SAXReaderNotAvailable, and use it to distinguish between an
ImportError, and a missing driver.
/external/python/cpython2/Lib/xml/sax/expatreader.py
3f0969f100a565a239f3504b50ab8e31d6e81b14 29-Sep-2000 Martin v. Löwis <martin@v.loewis.de> Use string functions instead of methods to allow sharing this module with PyXML
/external/python/cpython2/Lib/xml/sax/expatreader.py
2066fa023cb1c141f434c922c34e4b910c01d49b 24-Sep-2000 Martin v. Löwis <martin@v.loewis.de> Find feature names in handler.
/external/python/cpython2/Lib/xml/sax/expatreader.py
3a361f4f8bbcac72edcb387cd431c28f42252008 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Fixed another bug.
/external/python/cpython2/Lib/xml/sax/expatreader.py
bb757136b29369e88c72e1563ee95cd6514c15a0 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Improvements to doco strings.
Tiny bug fix to expatreader.py (endDocument was only called after errors).
/external/python/cpython2/Lib/xml/sax/expatreader.py
e292a24589c4eb31c2b0a0cc45f58c3abd0ffc1b 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Added EntityResolver and DTDHandler (patch 101631) with test cases.
/external/python/cpython2/Lib/xml/sax/expatreader.py
523b0a6ec87ac7f84de8a004e3c33581eb2a542f 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Added back the InputSource class (patch 101630).
/external/python/cpython2/Lib/xml/sax/expatreader.py
32bf12eb8a5849762721b561f9b48c6e897792e9 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Updated to final Attributes interface (patch 101632).
/external/python/cpython2/Lib/xml/sax/expatreader.py
f43cf31f4a60091af8b2146f4589be53a6d76b8c 24-Sep-2000 Lars Gustäbel <lars@gustaebel.de> Updated to new *NS signatures (patch 101573).
/external/python/cpython2/Lib/xml/sax/expatreader.py
ddb486745bbcb912eee2e84791273fa0a8e3c9e2 23-Sep-2000 Fred Drake <fdrake@acm.org> Conform more closely with the Python style guide.
/external/python/cpython2/Lib/xml/sax/expatreader.py
96ea196ea895ff9922338663a2967ae747fd205a 23-Sep-2000 Fred Drake <fdrake@acm.org> Use the public name for the Expat parser; "pyexpat" is deprecated.
/external/python/cpython2/Lib/xml/sax/expatreader.py
26a7983f086930b887731042dffb0f0899dedb81 06-Jul-2000 Skip Montanaro <skip@pobox.com> fix indentation in one docstring
/external/python/cpython2/Lib/xml/sax/expatreader.py
6c4753f925467e5908a43d2fec6d15b76e878d42 04-Jul-2000 Paul Prescod <prescod@prescod.net> Used original SAX handling form.
/external/python/cpython2/Lib/xml/sax/expatreader.py
45cd9de2bb2faa96bb18eb11d20261d7d1b8c20e 29-Jun-2000 Fred Drake <fdrake@acm.org> Paul Prescod <paul@prescod.net>:
SAX interfaces for Python.
/external/python/cpython2/Lib/xml/sax/expatreader.py