[issue6367] Change the instruction pointer in python

2009-06-30 Thread vinoth
vinoth <4vin...@gmail.com> added the comment: HI Exceptions are doing exactly the right way. but what I am telling is a new way of flow control which no languages currently having. On Tue, Jun 30, 2009 at 12:14 PM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > So there

[issue6367] Change the instruction pointer in python

2009-06-29 Thread Martin v . Löwis
Martin v. Löwis added the comment: So there is a language feature there already that solves your problem exactly, and you don't want to use it? Exceptions are *exactly* the right way to provide non-local gotos in a structured manner. I'm opposed to any change to the language because the desired

[issue6367] Change the instruction pointer in python

2009-06-29 Thread vinoth
vinoth <4vin...@gmail.com> added the comment: 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 lang

[issue6367] Change the instruction pointer in python

2009-06-29 Thread Martin v . Löwis
Martin v. Löwis 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 ___

[issue6367] Change the instruction pointer in python

2009-06-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue6367] Change the instruction pointer in python

2009-06-29 Thread R. David Murray
Changes by R. David Murray : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue6367] Change the instruction pointer in python

2009-06-29 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: You're talking about adding a non-local goto feature to the language. This would be a huge change, and not one that is generally in the direction that any widespread languages (let alone Python itself) are going these days. Please raise this on one of the

[issue6367] Change the instruction pointer in python

2009-06-29 Thread vinoth
New submission from vinoth <4vin...@gmail.com>: HI all I am not the too technical guy, but thinking about the new way of controlling the flow instead of throwing an error. as of now if we need to break a control and go back exceptions helps, but it is not a actual way. it would be great if w