summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-26/+26
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-26/+26
|
* Coverity issue CID #182Christian Heimes2008-01-181-0/+10
| | | | size_error: Allocating 1 bytes to pointer "children", which needs at least 4 bytes
* #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵Christian Heimes2007-12-191-6/+6
| | | | Py_REFCNT. Macros for b/w compatibility are available.
* PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis2007-07-211-6/+6
| | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT.
* SF#1534630Fredrik Lundh2006-08-161-1/+5
| | | | ignore data that arrives before the opening start tag
* Klocwork made another run and found a bunch more problems.Neal Norwitz2006-08-121-1/+1
| | | | | | | This is the first batch of fixes that should be easy to verify based on context. This fixes problem numbers: 220 (ast), 323-324 (symtable), 321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
* Upgrade pyexpat to expat 2.0.0 (http://python.org/sf/1462338).Trent Mick2006-06-191-2/+2
|
* Fix some Py_ssize_t issuesNeal Norwitz2006-06-121-5/+6
|
* "_self" is a said to be a reserved word in Watcom C 10.6. I'mFredrik Lundh2006-06-031-2/+2
| | | | | not sure that's really standard compliant behaviour, but I guess we have to fix that anyway...
* Fix problems found by Coverity.Neal Norwitz2006-05-101-1/+3
| | | | | | | | | | | | | longobject.c: also fix an ssize_t problem <a> could have been NULL, so hoist the size calc to not use <a>. _ssl.c: under fail: self is DECREF'd, but it would have been NULL. _elementtree.c: delete self if there was an error. _csv.c: I'm not sure if lineterminator could have been anything other than a string. However, other string method calls are checked, so check this one too.
* merged with cElementTree development trunk (1.0.6 snapshot):Fredrik Lundh2006-03-121-32/+60
| | | | | | Fixed a number of potential null-pointer-reference-under-pressure glitches, based on input from the Coverity analysis tool and Simo Salminen.
* More unconsting.Martin v. Löwis2006-02-271-7/+1
|
* Merge ssize_t branch.Martin v. Löwis2006-02-151-11/+18
|
* Check return results for errorsNeal Norwitz2006-02-071-0/+5
|
* Check return result from Py_InitModule*(). This API can fail.Neal Norwitz2006-01-191-0/+2
| | | | Probably should be backported.
* SF#1389809Fredrik Lundh2005-12-251-1/+1
| | | | | | cast first PyUnicode_Decode argument to proper type (why is "char *" used for encoded byte streams, btw? shouldn't that be "void *" or, if necessary, "unsigned char *"?)
* Fixed None reference leaks in TreeBuilder class (reported by NealFredrik Lundh2005-12-181-0/+4
| | | | Norwitz)
* Fixed reference counting error when using the entity dictionaryFredrik Lundh2005-12-171-1/+0
| | | | | (reported by Chris Olds). Backported from the 1.0.6 development branch.
* updating to cElementTree 1.0.5 (step 3 of 3)Fredrik Lundh2005-12-161-4/+7
|
* updating to cElementTree 1.0.5 (step 2 of 3)Fredrik Lundh2005-12-161-0/+2766
|
* updating to cElementTree 1.0.5Fredrik Lundh2005-12-161-2723/+0
|
* added PSG licensing blurbFredrik Lundh2005-12-141-0/+3
|
* renamed to _elementtree (for Python 2.5)Fredrik Lundh2005-12-141-4/+4
|
* copied cElementTree 1.0.4 to ModulesFredrik Lundh2005-12-141-0/+2720