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

Dave Cole djc at object-craft.com.au
Thu Aug 26 02:44:07 CEST 2004


Fred L. Drake, Jr. wrote:
> 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.

I have committed the patch after adding the suggestions from the reviewer.

- Dave

-- 
http://www.object-craft.com.au


More information about the Python-Dev mailing list