This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients eric.snow, ezio.melotti, rhettinger
Date 2011-10-16.06:23:24
SpamBayes Score 0.0016670485
Marked as misclassified No
Message-id <1318746205.13.0.390683525693.issue13177@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-10-16 06:23:25rhettingersetrecipients: + rhettinger, ezio.melotti, eric.snow
2011-10-16 06:23:25rhettingersetmessageid: <1318746205.13.0.390683525693.issue13177@psf.upfronthosting.co.za>
2011-10-16 06:23:24rhettingerlinkissue13177 messages
2011-10-16 06:23:24rhettingercreate