Message145617
| Author |
ezio.melotti |
| Recipients |
eric.snow, ezio.melotti, python-dev, rhettinger |
| Date |
2011年10月16日.07:31:10 |
| SpamBayes Score |
0.0005458854 |
| Marked as misclassified |
No |
| Message-id |
<1318750270.75.0.19800643355.issue13177@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
My comment was referring to double try/except suggested by Eric. Indeed the if/else might lead to a race condition, and that's a good reason to avoid LBYL -- even if on average calling hash() twice might be faster.
I'm happy with the fix you committed, thanks! |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年10月16日 07:31:10 | ezio.melotti | set | recipients:
+ ezio.melotti, rhettinger, python-dev, eric.snow |
| 2011年10月16日 07:31:10 | ezio.melotti | set | messageid: <1318750270.75.0.19800643355.issue13177@psf.upfronthosting.co.za> |
| 2011年10月16日 07:31:10 | ezio.melotti | link | issue13177 messages |
| 2011年10月16日 07:31:10 | ezio.melotti | create |
|