On Fri, Aug 09, 2019 at 02:59:13PM -0400, Eli Schwartz wrote: > On 8/9/19 2:08 PM, Lars Rustand wrote: > > Argh, gmail replies to the wrong address. > > > > On Fri, Aug 9, 2019, 20:06 Lars Rustand <[email protected]> wrote: > > > >> Thank you for the feedback, I totally agree with your remarks. I might be > >> a little too fond of codegolfing, that's where I got the idea to use True > >> as an index. > >> I posted an updated patch where I added your changes. > > No problem. ;) Thanks. > > As an aside, I have now seen int(True)-indexed lists used "in the wild"! > A clever fox saw what I wrote and PM'ed me a Fizzbuzz implementation > which relied on that.
Pft. Implying it's not public on github! https://gist.github.com/Foxboron/6643154 -- Morten Linderud PGP: 9C02FF419FECBE16
signature.asc
Description: PGP signature
