[Python-ideas] Control Flow - Never Executed Loop Body

Chris Angelico rosuav at gmail.com
Thu Mar 24 16:06:45 EDT 2016


On Fri, Mar 25, 2016 at 5:04 AM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> The point of the mildly obscure[1] item = sentinel idiom was to show
> that syntax isn't needed to avoid changing the loop body.  I don't
> even know if Chris A would disagree that I succeeded well enough.

You succeeded well enough. I just like finding the obscure cases :)

ChrisA


More information about the Python-ideas mailing list