Message134672
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. |
|
Date |
User |
Action |
Args |
2011-04-28 12:44:20 | ezio.melotti | set | recipients:
+ ezio.melotti, eric.araujo, r.david.murray, cvrebert, sijinjoseph, docs@python, python-dev, Carl.M.Johnson |
2011-04-28 12:44:20 | ezio.melotti | set | messageid: <1303994660.16.0.812247131256.issue11926@psf.upfronthosting.co.za> |
2011-04-28 12:44:19 | ezio.melotti | link | issue11926 messages |
2011-04-28 12:44:19 | ezio.melotti | create | |
|