Christian Heimes added the comment:

Oh, I didn't know that with is slower than try/finally. It should get
documented that try/finally is better suited than with for performance
critical code.

----------
assignee:  -> georg.brandl
components: +Documentation -Library (Lib)
keywords:  -patch
nosy: +georg.brandl
status: closed -> pending
title: _threading_local should use with -> Document that with is slower than 
try/finally

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1910>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to