goto statement

Cameron Laird claird at lairds.us
Wed Apr 20 14:08:03 EDT 2005


In article <mailman.2163.1113997893.1799.python-list at python.org>,
Maxim Kasimov  <kasimov at i.com.ua> wrote:
>Simon Brunning wrote:
>> On 4/20/05, Maxim Kasimov <kasimov at i.com.ua> wrote:
>> 
>>>it would be quite useful for debuging porposes
>> 
>> 
>> How does goto help you to remove bugs?
>> 
>> I can certainly see how it helps you put them in in the first place...
>> 
>
>if you need to comment a couple of code (and then uncomment ), what are
>you doing then?
			.
			.
			.
I might understand the question.  I often have

    if 0:
            # This is code we never should need; I
	    # leave it here for expository purposes.
        print some_key_debugging_information()

Does that help?



More information about the Python-list mailing list