I&#39;ve noticed, but it just seems like they are trying to do multiple things with one function, which doesn&#39;t look like to be in the zen of python. .<div>I&#39;d reckon they should&#39;ve supported extended slicing with the __getslice__ method.</div>
<div><br><br><div class="gmail_quote">On Thu, Apr 19, 2012 at 5:10 PM, Ronald Oussoren <span dir="ltr">&lt;<a href="mailto:ronaldoussoren@mac.com">ronaldoussoren@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
On 19 Apr, 2012, at 16:10, Dexter wrote:<br>
<br>
&gt; Hi,<br>
&gt;<br>
&gt; So they&#39;re re-factoring python a bit, some backwards (incompatible) changes to fix certain inconsistencies.<br>
&gt; And I also knew that some other inconsistencies aren&#39;t gonna be changed, because of backwards incompatibility.<br>
&gt; But I didn&#39;t know that they were also introducing inconsistencies, which is also breaking backwards compatibility.<br>
&gt;<br>
&gt; 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.<br>
&gt; Can anyone explain why?<br>
<br>
</div></div>__getslice__ doesn&#39;t support extended slicing (obj[start:stop:step])<br>
<span class="HOEnZb"><font color="#888888"><br>
Ronald<br>
<br>
</font></span><br>_______________________________________________<br>
Python-nl mailing list<br>
<a href="mailto:Python-nl@python.org">Python-nl@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-nl" target="_blank">http://mail.python.org/mailman/listinfo/python-nl</a><br>
<br></blockquote></div><br></div>