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 Arfrever, llllllllll, mark.dickinson, rhettinger, serhiy.storchaka, steven.daprano
Date 2015-06-04.13:23:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433424184.35.0.616751767776.issue24379@psf.upfronthosting.co.za>
In-reply-to
Content
For prior art, it's worth taking a look at NumPy, and in particular its `s_` and `index_exp` functions:

>>> import numpy as np
>>> np.s_[1:2]
slice(1, 2, None)
>>> np.s_[0]
0
>>> np.s_[1:2, 3]
(slice(1, 2, None), 3)
History
Date User Action Args
2015-06-04 13:23:04mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, Arfrever, steven.daprano, serhiy.storchaka, llllllllll
2015-06-04 13:23:04mark.dickinsonsetmessageid: <1433424184.35.0.616751767776.issue24379@psf.upfronthosting.co.za>
2015-06-04 13:23:04mark.dickinsonlinkissue24379 messages
2015-06-04 13:23:04mark.dickinsoncreate