How to fix those errors?

Chris Angelico rosuav at gmail.com
Sun Nov 16 20:05:29 EST 2014


On Mon, Nov 17, 2014 at 11:38 AM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> for people who have a broken keyboard or have remapped colon to something
> else. It would also make reading slices an exciting adventure:
>
>     seq[1,,,,][,,,,,,,,-1]
>
>
> What do you think? Is it perhaps better suited to perl-ideas?

Actually, I think this would fit in very nicely with C's trigraphs -
an excellent idea spoiled by the use of the arbitrary number three.
Using even numbers, especially powers of two, will make the idea ever
so much better.

ChrisA



More information about the Python-list mailing list