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 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.
History
Date User Action Args
2011-11-08 08:43:10gvanrossumsetrecipients: + gvanrossum, rhettinger, jcea, ezio.melotti, r.david.murray, santoso.wijaya, python-dev, torsten.becker, hkBst
2011-11-08 08:43:09gvanrossumsetmessageid: <1320741789.79.0.928827245732.issue11828@psf.upfronthosting.co.za>
2011-11-08 08:43:09gvanrossumlinkissue11828 messages
2011-11-08 08:43:08gvanrossumcreate