Message89908
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>
> _______________________________________
> |
File name |
Uploaded |
unnamed
|
vinoth,
2009-06-30.06:06:32
|
|
Date |
User |
Action |
Args |
2009-06-30 06:06:35 | vinoth | set | recipients:
+ vinoth, loewis, exarkun |
2009-06-30 06:06:33 | vinoth | link | issue6367 messages |
2009-06-30 06:06:33 | vinoth | create | |
|