[Python-au] strange pre-acting bug
Garry Trethewey
garrytre at bigpond.com
Wed May 19 00:30:54 UTC 2010
John Machin wrote:
> On 19/05/2010 7:22 AM, Garry Trethewey wrote:
>> Hello.
>> I've just joined this list because I've got a bug that I can't
>> understand. AFAIK it shouldn't be able to happen, and I hope someone
>> can enlighten me. I don't even know what to call it to google it.
>>
>> Briefely, if I comment out a line, a line _before_ it works, if I
>> enable the line, the line before it doesn't work.
>
> For future reference, "doesn't work" isn't useful information ...
That was a brief intro, details were given later
>
>> 212 print 'vPage = ', vPage
>> 213 raw_input('press enter')
>> 124 '''
>> 125 if vPage.isdigit():
>> 126 vPage = str(int(vPage) + 1)
>> 217 '''
>> 218 print 'vPage = ', vPage
>> 219 raw_input('press enter')
>
> Why do the line numbers go 212-213 then 124-126 then 217-219 ????
Because I made a mistake
------------------------------------
Garry Trethewey
------------------------------------
More information about the python-au
mailing list