[issue1910] Document that with is slower than try/finally
Amaury Forgeot d'Arc
report at bugs.python.org
Wed Jan 23 10:35:16 CET 2008
Amaury Forgeot d'Arc added the comment:
In ceval.c, the "case WITH_CLEANUP" contains the following lines:
/* XXX Not the fastest way to call it... */
x = PyObject_CallFunctionObjArgs(x, u, v, w, NULL);
Maybe this is something not too difficult to improve?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1910>
__________________________________
More information about the Python-bugs-list
mailing list