[issue18421] Refactor call_with_frame() function of pyexpat.c

STINNER Victor report at bugs.python.org
Wed Jul 10 13:45:56 CEST 2013


New submission from STINNER Victor:

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.

----------
components: XML
messages: 192796
nosy: christian.heimes, fdrake, haypo
priority: normal
severity: normal
status: open
title: Refactor call_with_frame() function of pyexpat.c
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18421>
_______________________________________


More information about the Python-bugs-list mailing list