Author ezio.melotti
Recipients Carl.M.Johnson, cvrebert, docs@python, eric.araujo, ezio.melotti, python-dev, r.david.murray, sijinjoseph
Date 2011-04-28.12:44:19
SpamBayes Score 1.08454e-08
Marked as misclassified No
Message-id <1303994660.16.0.812247131256.issue11926@psf.upfronthosting.co.za>
In-reply-to
Content
Good question. I considered using sets but then decided to use lists because they don't get rid of duplicates and would make the test fail in the (indeed unlikely) case that a keyword gets added twice (that's actually not possible in Test.keywords because it's a dict, but keyword.kwlist is a list and the implementation of either one could change at some point).
In any case it probably doesn't make much difference -- I just preferred to err on the safe side.
History
Date User Action Args
2011-04-28 12:44:20ezio.melottisetrecipients: + ezio.melotti, eric.araujo, r.david.murray, cvrebert, sijinjoseph, docs@python, python-dev, Carl.M.Johnson
2011-04-28 12:44:20ezio.melottisetmessageid: <1303994660.16.0.812247131256.issue11926@psf.upfronthosting.co.za>
2011-04-28 12:44:19ezio.melottilinkissue11926 messages
2011-04-28 12:44:19ezio.melotticreate