This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: HTMLParser close() issue
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: aeh
Priority: normal Keywords:

Created on 2020-12-28 14:49 by aeh, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
htmlparse_bug.py aeh, 2020-12-28 14:49 Self-contained Python module containing a demo of the bug, plus test infrastructure
Messages (2)
msg383896 - (view) Author: Anthony Hodson (aeh) Date: 2020-12-28 14:49
HTMLParser close() does not seem to dispose of previous HTML analyses.

I an sending a simple test to demonstrate this, complete with functions 
that are part of a set of testing facilities.  The problem is present for more complex HTML.
msg384052 - (view) Author: Anthony Hodson (aeh) Date: 2020-12-30 09:25
Resolved by correct initiation of subclass
History
Date User Action Args
2022-04-11 14:59:39adminsetgithub: 86930
2020-12-30 09:25:07aehsetstatus: open -> closed
resolution: not a bug
messages: + msg384052

stage: resolved
2020-12-28 14:49:01aehcreate