Message147153
> Or am I misunderstanding?
Ah, no, sorry. I wasn't aware of this.
Now the error message set by _PyEval_SliceIndex() makes sense. It doesn't itself accept None, but apply_slice() and assign_slice() handle the None case.
There's still the question whether {list,tuple}.index() should accept None or not. |
|
Date |
User |
Action |
Args |
2011-11-06 11:46:59 | petri.lehtinen | set | recipients:
+ petri.lehtinen, rhettinger, amaury.forgeotdarc, mark.dickinson, Carl.Friedrich.Bolz, alex, python-dev |
2011-11-06 11:46:59 | petri.lehtinen | set | messageid: <1320580019.2.0.614660575638.issue13340@psf.upfronthosting.co.za> |
2011-11-06 11:46:58 | petri.lehtinen | link | issue13340 messages |
2011-11-06 11:46:58 | petri.lehtinen | create | |
|