A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-June/101167.html below:

[Python-Dev] bytes

[Python-Dev] bytes / unicodeR. David Murray rdmurray at bitdance.com
Mon Jun 28 13:24:48 CEST 2010
On Mon, 28 Jun 2010 13:55:26 +0530, Senthil Kumaran <orsenthil at gmail.com> wrote:
> On Mon, Jun 28, 2010 at 08:28:45PM +1200, Greg Ewing wrote:
> > Thinking way outside the square, and probably the pale
> > as well, maybe @ could be pressed into service as an
> > infix operator, with
> > 
> >   s at i
> > 
> > being equivalent to
> > 
> >   s[i:i+1]
> > 
> 
> And this is way beyond being intuitive. 

Agreed, -1 on that.  Like I said, I was just venting.  The decision
to have indexing bytes return an int is set in stone now and I
just have to live with it.

--
R. David Murray                                      www.bitdance.com
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4