[issue1941] 2.6 stdlib using with statement

Christian Heimes report at bugs.python.org
Sat Jan 26 21:15:15 CET 2008


Christian Heimes added the comment:

A while ago Raymond explained on Python developer list that the with
statement is slightly slower than a try/finally block. Performance
critical sections like the threading module must not use the with statement.

----------
assignee:  -> rhettinger
keywords: +patch
nosy: +rhettinger, tiran
priority:  -> normal
type:  -> rfe

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


More information about the Python-bugs-list mailing list