Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Sorry, I'm not going to introduce a possible race condition because you find 
try/except to be less elegant than an if-contains test.  Also, I want to keep 
the current behavior of calling hash only once.  Your original complaint is 
valid though, so I'll go ahead and move the user_function call outside the 
exception block so as to avoid unnecessary exception chaining.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13177>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to