Message145617
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! |
|
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 | |
|