[python-nl] getitem with slices??

Dexter a.esselink at gmail.com
Thu Apr 19 16:10:09 CEST 2012


Hi,

So they're re-factoring python a bit, some backwards (incompatible) changes
to fix certain inconsistencies.
And I also knew that some other inconsistencies aren't gonna be changed,
because of backwards incompatibility.
But I didn't know that they were also introducing inconsistencies, which is
also breaking backwards compatibility.

getslice is being depricated, if you wanna use that, you should use getitem
in p3k. So now, you should check if your argument is an index or a slice.
Can anyone explain why?

Greetings, Dexter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-nl/attachments/20120419/d77f30de/attachment.html>


More information about the Python-nl mailing list