[Python-Dev] 0-base and 1-base indexed iterables? Custom slicing rules?

Glenn Linderman v+python at g.nevcal.com
Sun Mar 22 07:17:09 CET 2015


On 3/21/2015 10:46 PM, pedro santos wrote:
>
> Hi, I'm an Art and CG student learning Python and today's exercise was 
> about positions in a tiled room. The fact that I had to check if a 
> position was inside the room and given that in a 1x1 room, 0.0 was 
> considered in and 1.0 was considered out, it kept me thinking about 
> 0-base indexing iterables and slicing.
>
This sort of discussion is better held on python-list at python.org which 
is for learning and using the current and past versions of Python.

This mailing list is for coordinating the development of future versions 
of Python.

If your idea is to start a discussion to attempt to affect future 
versions of Python, that sort of discussion belongs on 
python-ideas at python.org, and ideas that are appropriate for 
implementation in future versions of Python eventually come to 
python-dev when they are accepted for implementation.

There are lots of friendly people on all these lists, but it is best to 
use the correct one, so that people can focus on the intended topics of 
the lists when reading each of them.

Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150321/80576611/attachment.html>


More information about the Python-Dev mailing list