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: Refactor call_with_frame() function of pyexpat.c
Type: Stage:
Components: XML Versions: Python 3.4
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: christian.heimes, fdrake, vstinner
Priority: normal Keywords:

Created on 2013-07-10 11:45 by vstinner, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg192796 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-07-10 11:45
Modules/pyexpat.c contains a call_with_frame() function which uses many low-level attributes like tstate->c_profilefunc. I don't think that pyexpat.c is the best place for such function, it should be moved to Python/ceval.c.

Except the call to XML_StopParser(self->itself, XML_FALSE); on failure, the code doesn't look to be specific to (py)expat.
msg206389 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-12-16 23:14
I'm not really interested to refactory pyexpat.c code. If you are interested, open a new the issue with a patch.
History
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62621
2013-12-16 23:14:32vstinnersetstatus: open -> closed
resolution: wont fix
messages: + msg206389
2013-07-10 11:45:56vstinnercreate