New submission from Germán M. Bravo:
On the tip of 3.3, I've found `Element.__getstate__` doesn't work and neither
as `pickle.dumps(Element)` under certain circumstances.
This crashes:
e1 = ElementTree().parse('houses.xml')
e1.__getstate__()
This doesn't crash:
New submission from Germán M. Bravo:
The added iter/itertext methods in Element are not working under certain
circumstances (crashes):
This crashes:
e = ElementTree().parse('/Users/kronuz/Desktop/tests/houses.xml')
e.iter()
But the problem is not there if I use bootstrapped
Germán M. Bravo added the comment:
The attached patch fixes the problem (there were some missing JOIN_OBJ())
--
keywords: +patch
Added file: http://bugs.python.org/file31723/join_obj.diff
___
Python tracker
<http://bugs.python.org/issue18
Germán M. Bravo added the comment:
It crashes when I run that code snippet I posted (using the attached xml file)
The problem was introduced by the commit that added iterator support.
--
___
Python tracker
<http://bugs.python.org/issue18
Changes by Germán M. Bravo :
Removed file: http://bugs.python.org/file31723/join_obj.diff
___
Python tracker
<http://bugs.python.org/issue18997>
___
___
Python-bugs-list m
Changes by Germán M. Bravo :
Added file: http://bugs.python.org/file31725/join_obj.diff
___
Python tracker
<http://bugs.python.org/issue18997>
___
___
Python-bugs-list m
New submission from Germán M. Bravo:
I've seen *a lot* of people using `logging.exception(exc)` to log exceptions.
It all seems okay, until the exc object contains unicode strings, at which
point logging throes a UnicodeEncodeError exception.
Example: `exc = Exception(u'op