This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinoth
Recipients exarkun, loewis, vinoth
Date 2009-06-30.06:06:33
SpamBayes Score 3.0228042e-11
Marked as misclassified No
Message-id <6176a14d0906292306q6d507736k73043ceb237d2836@mail.gmail.com>
In-reply-to <1246309859.92.0.223657052247.issue6367@psf.upfronthosting.co.za>
Content
I hope exceptions are not created for that purpose,and it is not the actual*
/*right way i hope. because,

if any of the called methods has the try: except: block, it fails..

and we can't guide other coders, "Don't use try: except:" as it is the
language neutral power.

But it is easy to implement.  Just do as we do in case of exception, but in
a user defined way. I hope.

Thanks
Vinoth

On Tue, Jun 30, 2009 at 2:41 AM, Martin v. Löwis <report@bugs.python.org>wrote:

>
> Martin v. Löwis <martin@v.loewis.de> added the comment:
>
> Actually, Python has non-local gotos already, and in a structured way:
> by means of exceptions. I don't understand why it is "not a actual way"
> - please do consider using a custom exception for that.
>
> ----------
> nosy: +loewis
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue6367>
> _______________________________________
>
Files
File name Uploaded
unnamed vinoth, 2009-06-30.06:06:32
History
Date User Action Args
2009-06-30 06:06:35vinothsetrecipients: + vinoth, loewis, exarkun
2009-06-30 06:06:33vinothlinkissue6367 messages
2009-06-30 06:06:33vinothcreate