Message147278
| Author |
gvanrossum |
| Recipients |
ezio.melotti, gvanrossum, hkBst, jcea, python-dev, r.david.murray, rhettinger, santoso.wijaya, torsten.becker |
| Date |
2011年11月08日.08:43:08 |
| SpamBayes Score |
0.003186204 |
| Marked as misclassified |
No |
| Message-id |
<1320741789.79.0.928827245732.issue11828@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As I wrote in python-dev:
I agree with Raymond that this should be treated as a feature request and not "fixed" in 2.7 / 3.2. (However the mention of 'find' in the error message for 'index' is a bug and should be fixed.)
As for the feature request, I think that allowing None in more places is more regular and consistent across interfaces. I note that the slice() object also represents "missing" or "default" values as None, so it is not just a carryover from the old string.py.
So, +1 on the feature for 3.3; -1 on the "fix" in 3.2 or 2.7. |
|