Message244819
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) |
|
Date |
User |
Action |
Args |
2015-06-04 13:23:04 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, Arfrever, steven.daprano, serhiy.storchaka, llllllllll |
2015-06-04 13:23:04 | mark.dickinson | set | messageid: <1433424184.35.0.616751767776.issue24379@psf.upfronthosting.co.za> |
2015-06-04 13:23:04 | mark.dickinson | link | issue24379 messages |
2015-06-04 13:23:04 | mark.dickinson | create | |
|