Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32564 > unrolled thread
| Started by | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| First post | 2012-11-01 09:15 -0700 |
| Last post | 2012-11-01 09:15 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Negative array indicies and slice() Ethan Furman <ethan@stoneleaf.us> - 2012-11-01 09:15 -0700
| From | Ethan Furman <ethan@stoneleaf.us> |
|---|---|
| Date | 2012-11-01 09:15 -0700 |
| Subject | Re: Negative array indicies and slice() |
| Message-ID | <mailman.3156.1351787852.27098.python-list@python.org> |
Chris Angelico wrote: > On Fri, Nov 2, 2012 at 1:12 AM, Ethan Furman <ethan@stoneleaf.us> wrote: >> In other words, the slice contains the strings, and my code calculates >> the offsets -- Python doesn't do it for me. > > That's correct, but you're still translating those strings into > numeric indices. True, but the point is that the /slice/ contains a data type that is neither a number, nor directly translatable into a number (that is, no __index__ method), and my code would cease to function should that change to slices be made. ~Ethan~
Back to top | Article view | comp.lang.python
csiph-web