summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
Commit message (Collapse)AuthorAgeFilesLines
* 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