Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #24610
| Date | 2012-06-28 05:52 -0700 |
|---|---|
| From | Ethan Furman <ethan@stoneleaf.us> |
| Subject | Re: exception problem |
| References | <4FE79433.8020704@earthlink.net> <4FE7982C.5020708@mrabarnett.plus.com> <mailman.1466.1340579780.4697.python-list@python.org> <4fe817d3$0$29866$c3e8da3$5496439d@news.astraweb.com> <4FEBA18C.5090204@earthlink.net> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1601.1340888470.4697.python-list@python.org> (permalink) |
Charles Hixson wrote: > On 06/25/2012 12:48 AM, Steven D'Aprano wrote: >> "Catch any exception" is almost certainly the wrong thing to do, almost >> always. >> > This time it was the right thing No, it wasn't. If you hadn't caught it, Python would have printed it out for you, along with the full trace-back, giving you most if not all the information you needed to track down the bug. ~Ethan~
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: exception problem Charles Hixson <charleshixsn@earthlink.net> - 2012-06-24 16:16 -0700
Re: exception problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-06-25 07:48 +0000
Re: exception problem Charles Hixson <charleshixsn@earthlink.net> - 2012-06-27 17:13 -0700
Re: exception problem alex23 <wuwei23@gmail.com> - 2012-06-27 17:36 -0700
Re: exception problem Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-06-28 03:44 +0000
Re: exception problem Ethan Furman <ethan@stoneleaf.us> - 2012-06-28 05:52 -0700
csiph-web