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 eric.araujo
Recipients eric.araujo, meatballhat, michael.mulich, tarek, titus
Date 2011-09-19.14:23:06
SpamBayes Score 1.82026e-05
Marked as misclassified No
Message-id <1316442187.33.0.892818129989.issue8591@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2011-09-19 14:23:07eric.araujosetrecipients: + eric.araujo, titus, tarek, meatballhat, michael.mulich
2011-09-19 14:23:07eric.araujosetmessageid: <1316442187.33.0.892818129989.issue8591@psf.upfronthosting.co.za>
2011-09-19 14:23:06eric.araujolinkissue8591 messages
2011-09-19 14:23:06eric.araujocreate