[Python-Dev] Submitted patch #1014930 to exposes the current parse location in pyexpat

Fred L. Drake, Jr. fdrake at acm.org
Tue Aug 24 09:07:38 CEST 2004


On Monday 23 August 2004 10:53 pm, Dave Cole wrote:
 > Expat supplies the XML_GetCurrentLineNumber, XML_GetCurrentColumnNumber,
 > and XML_GetCurrentByteIndex functions to obtain the current parse
 > location.  The patch exposes these as the following respective members
 > of the xml.parsers.expat.XMLParser object; CurrentLineNumber,
 > CurrentColumnNumber, CurrentByteIndex.

This sounds like a good idea to me.  Please post the patch on SF and assign to 
me.

Thanks!


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>



More information about the Python-Dev mailing list