Issue 18421: Refactor call_with_frame() function of pyexpat.c (original) (raw)

Issue18421

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:47 admin set github: 62621
2013-12-16 23:14:32 vstinner set status: open -> closedresolution: wont fixmessages: +
2013-07-10 11:45:56 vstinner create