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 mark.dickinson
Recipients Carl.Friedrich.Bolz, alex, amaury.forgeotdarc, mark.dickinson, petri.lehtinen, python-dev, rhettinger
Date 2011-11-06.11:28:00
SpamBayes Score 2.588069e-08
Marked as misclassified No
Message-id <1320578880.8.0.683568485654.issue13340@psf.upfronthosting.co.za>
In-reply-to
Content
> What do you suggest? Doing it in _PyEval_SliceIndex() in 2.7 is
> problematic, as we don't want x[None:2], right? :)

Eh? Don't we already have this?

Python 2.7.2 (default, Aug 22 2011, 13:53:27) 
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> range(5)[None:2]
[0, 1]

Or am I misunderstanding?
History
Date User Action Args
2011-11-06 11:28:00mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, amaury.forgeotdarc, Carl.Friedrich.Bolz, alex, python-dev, petri.lehtinen
2011-11-06 11:28:00mark.dickinsonsetmessageid: <1320578880.8.0.683568485654.issue13340@psf.upfronthosting.co.za>
2011-11-06 11:28:00mark.dickinsonlinkissue13340 messages
2011-11-06 11:28:00mark.dickinsoncreate