Message144279
> Changing “if s in 'yn'” to “if s in ('y', 'n')” is not really an
> improvement. It’s not more readable to always use tuples or frozensets
> for membership testing; str has __contains__ for a reason :)
Let me eat my words: using “in 'yn'” matches '' and 'yn', which we don’t want. Changed in 10fd0d0895a1. |
|
Date |
User |
Action |
Args |
2011-09-19 14:23:07 | eric.araujo | set | recipients:
+ eric.araujo, titus, tarek, meatballhat, michael.mulich |
2011-09-19 14:23:07 | eric.araujo | set | messageid: <1316442187.33.0.892818129989.issue8591@psf.upfronthosting.co.za> |
2011-09-19 14:23:06 | eric.araujo | link | issue8591 messages |
2011-09-19 14:23:06 | eric.araujo | create | |
|