[Python-Dev] bytes (original) (raw)
[Python-Dev] bytes / unicode
R. David Murray rdmurray at bitdance.com
Mon Jun 28 13:24:48 CEST 2010
- Previous message: [Python-Dev] bytes / unicode
- Next message: [Python-Dev] bytes / unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] bytes / unicode
- Next message: [Python-Dev] bytes / unicode
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]