[issue35018] Sax parser provides no user access to lexical handlers

2020-08-09 Thread Stefan Behnel


Change by Stefan Behnel :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2020-08-09 Thread Stefan Behnel


Stefan Behnel  added the comment:


New changeset e28b8c93878072dc02b116108ef5443084290d47 by Zackery Spytz in 
branch 'master':
bpo-35018: Sax parser should provide user access to lexical handlers (GH-20958)
https://github.com/python/cpython/commit/e28b8c93878072dc02b116108ef5443084290d47


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2020-06-18 Thread Zackery Spytz


Change by Zackery Spytz :


--
versions: +Python 3.10 -Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2020-06-17 Thread Zackery Spytz


Change by Zackery Spytz :


--
nosy: +ZackerySpytz
nosy_count: 3.0 -> 4.0
pull_requests: +20136
pull_request: https://github.com/python/cpython/pull/20958

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2019-05-30 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
nosy: +scoder

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2018-11-04 Thread Jonathan Gossage


Change by Jonathan Gossage :


--
keywords: +patch
pull_requests: +9631
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2018-10-18 Thread Jonathan Gossage


Change by Jonathan Gossage :


--
components: +XML

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue35018] Sax parser provides no user access to lexical handlers

2018-10-18 Thread Jonathan Gossage


New submission from Jonathan Gossage :

While working on issues bpo-6686 and bpo-9371 I realized that the solution to 
both involved the use of Sax lexical handlers. Unfortunately, the Python SAX 
parser does not expose these handlers to the end user, however, support is 
available in expatreader.py and pyexpat.c.

What is missing is the LexicalHandler class which works the same way as the 
ContentHandler does for the more common handlers and provides a subclassable 
interface for these handlers. This class is present in the Java implementation 
of SAX2 and was also present in Pyxml.

I have already verified privately that this class works exactly as expected and 
I am working on a PR which will provide the class along with supporting unit 
tests that verify that the lexical handlers work.

--
messages: 327982
nosy: Jonathan.Gossage, taleinat
priority: normal
severity: normal
status: open
title: Sax parser provides no user access to lexical handlers
type: enhancement
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com