Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -113/+7 |
|\ | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
| * | Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in ↵ | Antoine Pitrou | 2014-10-08 | 1 | -113/+7 |
| | | | | | | | | | | | | exception tracebacks. Initial patch by Mark Shannon. | ||||
* | | Removed redundant casts to `char *`. | Serhiy Storchaka | 2014-09-28 | 1 | -5/+4 |
| | | | | | | | | Corresponding functions now accept `const char *` (issue #1772673). | ||||
* | | Issue #20152: Port pyexpat to Argument Clinic. | Brett Cannon | 2014-08-22 | 1 | -154/+471 |
|/ | | | | | Could not emit an external file as pyexpat has a conditionally built method which Clinic won't hide otherwise. | ||||
* | Issue #6676: Ensure a meaningful exception is raised when attempting | Ned Deily | 2014-03-27 | 1 | -1/+1 |
| | | | | | | to parse more than one XML document per pyexpat xmlparser instance. (Original patches by Hirokazu Yamamoto and Amaury Forgeot d'Arc, with suggested wording by David Gutteridge) | ||||
* | Issue #20437: Fixed 22 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
|\ | |||||
| * | Issue #20437: Fixed 21 potential bugs when deleting objects references. | Serhiy Storchaka | 2014-02-09 | 1 | -2/+1 |
| | | |||||
* | | silence an overflow warning. slen is smaller than 1MB | Christian Heimes | 2013-11-21 | 1 | -1/+2 |
| | | |||||
* | | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 1 | -1/+1 |
| | | | | | | | | Python now uses SipHash24 on all major platforms. | ||||
* | | Check return value of PyEval_GetGlobals() for NULL | Christian Heimes | 2013-07-20 | 1 | -2/+7 |
|\ \ | |/ | | | | | CID 486814 | ||||
| * | Check return value of PyEval_GetGlobals() for NULL | Christian Heimes | 2013-07-20 | 1 | -2/+7 |
| | | | | | | | | CID 486814 | ||||
* | | Check return value of flush_character_buffer() | Christian Heimes | 2013-07-20 | 1 | -1/+3 |
|\ \ | |/ | | | | | CID 486663 | ||||
| * | Check return value of flush_character_buffer() | Christian Heimes | 2013-07-20 | 1 | -1/+3 |
| | | | | | | | | CID 486663 | ||||
* | | Issue #18501, #18408: Fix expat handlers in pyexpat, don't call Python | Victor Stinner | 2013-07-18 | 1 | -0/+15 |
| | | | | | | | | functions if a Python exception was raised | ||||
* | | Issue #18408: Fix pyexpat.ParserCreate() | Victor Stinner | 2013-07-15 | 1 | -9/+10 |
| | | | | | | | | | | Check if XML_ParserCreate_MM() failed (ex: MemoryError) before using self->itself. | ||||
* | | Issue #18227: pyexpat now uses a static XML_Memory_Handling_Suite. ↵ | Christian Heimes | 2013-07-07 | 1 | -6/+6 |
| | | | | | | | | cElementTree uses the same approach since at least Python 2.6 | ||||
* | | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -9/+9 |
| | | | | | | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | | Fix segfault in pyexpat.c caused by 84375 | Christian Heimes | 2013-06-29 | 1 | -1/+1 |
| | | | | | | | | u can be NULL, use XDECREF | ||||
* | | Fix memory leak in pyexpat PyUnknownEncodingHandler | Christian Heimes | 2013-06-29 | 1 | -1/+3 |
|/ | | | | | CID 1040367 (#1 of 1): Resource leak (RESOURCE_LEAK) leaked_storage: Variable u going out of scope leaks the storage it points to. | ||||
* | Issue #13612: handle unknown encodings without a buffer overflow. | Eli Bendersky | 2013-05-25 | 1 | -31/+27 |
| | | | | | | | This affects pyexpat and _elementtree. PyExpat_CAPI now exposes a new function - DefaultUnknownEncodingHandler. Based on a patch by Serhiy Storchaka. | ||||
* | Issue #16986: ElementTree now correctly parses a string input not only when | Serhiy Storchaka | 2013-05-22 | 1 | -0/+1 |
| | | | | an internal XML encoding is UTF-8 or US-ASCII. | ||||
* | Issue #17089: Expat parser now correctly works with string input not only when | Serhiy Storchaka | 2013-02-04 | 1 | -4/+36 |
|\ | | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB. | ||||
| * | Issue #17089: Expat parser now correctly works with string input not only when | Serhiy Storchaka | 2013-02-04 | 1 | -4/+39 |
| | | | | | | | | | | an internal XML encoding is UTF-8 or US-ASCII. It now accepts bytes and strings larger than 2 GiB. | ||||
| * | Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD() | Christian Heimes | 2012-09-24 | 1 | -1/+1 |
| | | | | | | | | method doesn't require an argument again. | ||||
* | | Port #16012 fix: parameter parsing regression in pyexpat parser ↵ | Georg Brandl | 2012-09-24 | 1 | -1/+1 |
| | | | | | | | | UseForeignDTD() method. | ||||
* | | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 1 | -19/+19 |
|\ \ | |/ | | | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
| * | Issue #15604: Update uses of PyObject_IsTrue() to check for and handle ↵ | Antoine Pitrou | 2012-08-15 | 1 | -18/+24 |
| | | | | | | | | | | | | errors correctly. Patch by Serhiy Storchaka. | ||||
* | | Issue #14007: implement doctype() method calling in XMLParser of _elementtree. | Eli Bendersky | 2012-06-01 | 1 | -0/+1 |
| | | | | | | | | Includes exposing a doctype handler from expat through pyexpat. | ||||
* | | Fixes Issue 14234: fix for the previous commit, keep compilation when | Gregory P. Smith | 2012-03-15 | 1 | -0/+5 |
|\ \ | |/ | | | | | | | using --with-system-expat working when the system expat does not have salted hash support. | ||||
| * | Fixes Issue 14234: fix for the previous commit, keep compilation when | Gregory P. Smith | 2012-03-15 | 1 | -0/+5 |
| | | | | | | | | | | using --with-system-expat working when the system expat does not have salted hash support. | ||||
* | | Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes | Gregory P. Smith | 2012-03-14 | 1 | -0/+2 |
|\ \ | |/ | | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project. | ||||
| * | Fixes Issue #14234: CVE-2012-0876: Randomize hashes of xml attributes | Gregory P. Smith | 2012-03-14 | 1 | -0/+2 |
| |\ | | | | | | | | | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project. | ||||
| | * | Fixes issue #14234: CVE-2012-0876: Randomize hashes of xml attributes | Gregory P. Smith | 2012-03-14 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | in the hash table internal to the pyexpat module's copy of the expat library to avoid a denial of service due to hash collisions. Patch by David Malcolm with some modifications by the expat project. | ||||
| * | | merge 3.1 | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 |
| |\ \ | | |/ | |||||
| | * | return NULL on error | Benjamin Peterson | 2011-06-01 | 1 | -1/+1 |
| | | | |||||
* | | | Rename _Py_identifier to _Py_IDENTIFIER. | Martin v. Löwis | 2011-10-14 | 1 | -1/+1 |
| | | | |||||
* | | | Use identifier API for PyObject_GetAttrString. | Martin v. Löwis | 2011-10-10 | 1 | -2/+2 |
| | | | |||||
* | | | pyexat uses the new Unicode API | Victor Stinner | 2011-09-30 | 1 | -5/+7 |
| | | | |||||
* | | | Implement PEP 393. | Martin v. Löwis | 2011-09-28 | 1 | -3/+8 |
| | | | |||||
* | | | remove __version__s dependent on subversion keyword expansion (closes #12221) | Benjamin Peterson | 2011-06-01 | 1 | -5/+0 |
| | | | |||||
* | | | merge 3.2 (#12221) | Benjamin Peterson | 2011-06-01 | 1 | -21/+5 |
|\ \ \ | |/ / | |||||
| * | | merge 3.1 (#12221) | Benjamin Peterson | 2011-06-01 | 1 | -21/+5 |
| |\ \ | | |/ | |||||
| | * | simply use the Python version for pyexpat.__version__ #12221 | Benjamin Peterson | 2011-05-31 | 1 | -21/+5 |
| | | | |||||
| | * | Merged revisions 85536 via svnmerge from | Georg Brandl | 2010-10-24 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r85536 | georg.brandl | 2010-10-15 18:26:08 +0200 (Fr, 15 Okt 2010) | 1 line #9054: fix crash when using pyexpat with a system expat lib version 2.0.1. ........ | ||||
| | * | Recorded merge of revisions 81032 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -195/+195 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r81032 | antoine.pitrou | 2010-05-09 17:52:27 +0200 (dim., 09 mai 2010) | 9 lines Recorded merge of revisions 81029 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ ................ | ||||
* | | | Merge with 3.2. | Ezio Melotti | 2011-04-11 | 1 | -1/+0 |
|\ \ \ | |/ / | |||||
| * | | Remove unnecessary call to PyErr_Clear. | Ezio Melotti | 2011-04-11 | 1 | -1/+0 |
| | | | |||||
* | | | Issue #10833: Use PyUnicode_FromFormat() and PyErr_Format() instead of | Victor Stinner | 2011-03-21 | 1 | -6/+7 |
|/ / | | | | | | | PyOS_snprintf(). | ||||
* | | Issue #9566: Fix pyparse.xmlparser.ParseFile() | Victor Stinner | 2011-01-10 | 1 | -22/+12 |
| | | | | | | | | | | | | Fix readinst() if file.read(n) returns a bytes object longer than n: return -1 instead of the the buffer size to raise an exception. Simplify also the function code. | ||||
* | | Issue #9566: PyUnicode_FromFormatV() doesn't support %zi, use %zd instead | Victor Stinner | 2011-01-04 | 1 | -1/+1 |
| | |