Re: a little parsing challenge ☺

Ian Kelly ian.g.kelly at gmail.com
Tue Jul 19 20:08:06 CEST 2011


On Tue, Jul 19, 2011 at 10:54 AM, Xah Lee <xahlee at gmail.com> wrote:
> On Sunday, July 17, 2011 2:48:42 AM UTC-7, Raymond Hettinger wrote:
>> On Jul 17, 12:47 am, Xah Lee <xah... at gmail.com> wrote:
>> > i hope you'll participate. Just post solution here. Thanks.
>>
>> http://pastebin.com/7hU20NNL
>
> just installed py3.
> there seems to be a bug.
> in this file
>
> http://xahlee.org/p/time_machine/tm-ch04.html
>
> there's a mismatched double curly quote. at position 28319.
>
> the python code above doesn't seem to spot it?

It would appear that Raymond forgot to check that the stack is empty
at the end of the check_balance function.  It's an easy enough thing
to fix.



More information about the Python-list mailing list