Message134672
| 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.0845376e-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. |
|