[issue1910] Document that with is slower than try/finally

Amaury Forgeot d'Arc report at bugs.python.org
Wed Jan 23 10:31:13 CET 2008


Amaury Forgeot d'Arc added the comment:

Raymond, does your comment also apply to change at r60189 ? It is
exactly the same thing, in threading.py...

OTOH, _threading_local.py is not used by the standard library, except by
the dummy_threading module; threading.local normally comes from
threadmodule.c.

I don't think this module is performance critical. Maybe we can teach
"good practices" there.

----------
nosy: +amaury.forgeotdarc

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1910>
__________________________________


More information about the Python-bugs-list mailing list