summaryrefslogtreecommitdiffstats
path: root/Lib/xml/sax/_exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-3/+3
| | | | Patch by Serhiy Storchaka.
* expunge the xmlcore changes:Fred Drake2006-07-291-0/+131
| | | | | | | | | | | | | | | | | | | 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
* move the xml package implementation to xmlcore, and adjust the tests toFred Drake2005-12-141-131/+0
| | | | | test that package, not the xmlcore/PyXML switcheroo fiasco in the xml module/package
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-2/+2
|
* commit the portion of PyXML patch #919008 that is relevant to theFred Drake2004-03-201-2/+7
| | | | | | | standard library: str() of xml.sax.SAXParseException should not fail if the line and/or column number returned by the locator are None (tests added)
* Synchronize with 1.6 of PyXML:Martin v. Löwis2001-03-221-3/+11
| | | | | Retrieve relevant information at construction time, as it may be lost when the exception is printed.
* Synchronize with PyXML 1.5.Martin v. Löwis2001-01-271-0/+1
|
* Make reindent.py happy (lots of trailing whitespace removed).Fred Drake2000-10-231-2/+2
|
* _exceptions: Format a missing system id as <unknown>.Martin v. Löwis2000-10-091-4/+5
| | | | expatreader: Use the error handler instead of raising exception directly.
* Add SAXReaderNotAvailable, and use it to distinguish between anMartin v. Löwis2000-10-061-0/+10
| | | | ImportError, and a missing driver.
* SAXException.__getitem__(): Raise AttributeError instead of NameError.Fred Drake2000-09-211-1/+1
|
* Once we're done with the sys module, remove it from the namespace soFred Drake2000-09-181-13/+11
| | | | this module is "import *" safe.
* fix inconsistent use of tabs and spacesJeremy Hylton2000-07-071-10/+10
|
* Paul Prescod <paul@prescod.net>:Fred Drake2000-06-291-0/+108
SAX interfaces for Python.