[issue15804] Feature request, implicit "except : pass"

2012-08-28 Thread Ezio Melotti
Changes by Ezio Melotti : -- stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue15804] Feature request, implicit "except : pass"

2012-08-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Please submit your idea to the python-ideas list. -- nosy: +benjamin.peterson resolution: -> wont fix status: open -> closed ___ Python tracker

[issue15804] Feature request, implicit "except : pass"

2012-08-28 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: No way this is going to be in 2.7. -- nosy: +jcea versions: -Python 2.7 ___ Python tracker ___ ___

[issue15804] Feature request, implicit "except : pass"

2012-08-28 Thread Raymond Hettinger
Raymond Hettinger added the comment: FWIW, this is already easy to do with decorators: >>> class Pass: def __init__(self, exc): self.exc = exc def __enter__(self): return self def __exit__(self, exctype, excinst, exctb): ret

[issue15804] Feature request, implicit "except : pass"

2012-08-28 Thread gd2shoe
New submission from gd2shoe: I'm constantly finding myself writing itty-bitty try blocks like such: process stuff try : someSubProcess.kill() except : pass process stuff I realize this isn't a rigorous use of except, but it's good enough for a vast majority of what I need it for. Still, it ad