[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
New submission from Achim Gaedke: Hello! Sometimes people have big amounts of text/data in xml files. To make processing more effective, they should be able to change the buffer size for collecting character data in one string. Here comes a patch that applies necessary changes in setattr

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
Changes by Achim Gaedke: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1137 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue1137] pyexpat patch for changing buffer_size

2007-09-09 Thread Achim Gaedke
Changes by Achim Gaedke: __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1137 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python

[issue1499] failure behaviour of compile() is missing

2007-11-26 Thread Achim Gaedke
New submission from Achim Gaedke: Regarding the compile() function in html/lib/built-in-funcs.html: Please add a note about the exceptions raised by this function. -- components: Documentation messages: 57850 nosy: AchimGaedke severity: minor status: open title: failure behaviour

[issue1778] SyntaxError.offset sometimes wrong

2008-01-09 Thread Achim Gaedke
New submission from Achim Gaedke: The value SyntaxError.offset is for most SyntaxErrors an offset from beginning of line SyntaxError.lineno. In case of an triple-quoted string which is not at all closed, offset seems to be the offset from beginning of the buffer. -- components

[issue1778] SyntaxError.offset sometimes wrong

2008-01-13 Thread Achim Gaedke
Achim Gaedke added the comment: sometimes offset is None... Example: def blub(bla, blub=None, blabla): bla causes: non-default argument follows default argument Added file: http://bugs.python.org/file9150/compile_test.py __ Tracker [EMAIL PROTECTED] http

[issue13551] pulldom doesn't populate DOM tree

2011-12-07 Thread Achim Gaedke
New submission from Achim Gaedke achim.gae...@physik.tu-darmstadt.de: Hi! I tried to use the more general xml.dom interface, no longer defaulting to minidom straight away (or using etree). The DOM tree gained with PullDOM seem to be incomplete. Here is the output of the program attached

[issue13551] pulldom doesn't populate DOM tree

2011-12-07 Thread Achim Gaedke
Achim Gaedke achim.gae...@physik.tu-darmstadt.de added the comment: sorry, the output given before was generated with python2.7 changing the line xml.sax.parseString(xml_data, d_handler) to xml.sax.parseString(bytes(xml_data, utf-8), d_handler) makes it working for python 3.2, result

[issue13551] pulldom doesn't populate DOM tree

2011-12-14 Thread Achim Gaedke
Achim Gaedke achim.gae...@physik.tu-darmstadt.de added the comment: Potentially both: The xml.dom.pulldom documentation is not really there. Maybe the PullDOM builds a partial tree, not caring about nested nodes. In contrast to SAX2DOM, which seems to fill the DOM tree completely. I tried