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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1941>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to