Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Specify default values of semantic booleans in Argument Clinic generated ↵ | Serhiy Storchaka | 2015-05-30 | 1 | -4/+4 |
| | | | | signatures as booleans. | ||||
* | Issue #24001: Argument Clinic converters now use accept={type} | Larry Hastings | 2015-05-04 | 1 | -5/+5 |
| | | | | instead of types={'type'} to specify the types the converter accepts. | ||||
* | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -6/+10 |
| | |||||
* | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -293/+14 |
| | |||||
* | Issue #23685: Fix usage of PyMODINIT_FUNC in _json, _scproxy, nis, pyexpat | Victor Stinner | 2015-03-17 | 1 | -10/+0 |
| | | | | | | | | _codecs_cn, _codecs_hk, _codecs_iso2022, _codecs_jp, _codecs_kr and _codecs_tw modules. pyexpat.c doesn't need to redeclare PyMODINIT_FUNC, it's already declared in Include/pyport.h. | ||||
* | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -2/+2 |
|\ | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
| * | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -2/+2 |
| | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | ||||
* | | 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 |
| | | |