Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98187
| Path | csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Paul Rubin <no.email@nospam.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Re: Modern recommended exception handling practices? |
| Date | Tue, 03 Nov 2015 11:59:24 -0800 |
| Organization | A noiseless patient Spider |
| Lines | 7 |
| Message-ID | <87h9l2yhur.fsf@nightsong.com> (permalink) |
| References | <52739457-5f7a-48ea-8835-9fc8934174f9@googlegroups.com> <56385887$0$1598$c3e8da3$5496439d@news.astraweb.com> <mailman.7.1446534982.8789.python-list@python.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| Injection-Info | mx02.eternal-september.org; posting-host="1a9f5856d25720e42c135b990c70bebb"; logging-data="14790"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18j3/3x1pNnuieAblmKi0Bd" |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
| Cancel-Lock | sha1:HocrtD3/WONYqiwenAAPZhfAwhE= sha1:ijgiJVP601j3akf2JheamxxBdl0= |
| Xref | csiph.com comp.lang.python:98187 |
Show key headers only | View raw
Chris Angelico <rosuav@gmail.com> writes: > Aside from string exceptions and the "except Type, e:" syntax, I would > agree with you. Actually, I can't think of any "obsolete > exception-handling practices" in any language. I'd say that context managers are a big recent improvement in Python over dealing with a lot of exceptions explicitly.
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Modern recommended exception handling practices? vasudevram <vasudevram@gmail.com> - 2015-10-29 10:43 -0700
Re: Modern recommended exception handling practices? Steven D'Aprano <steve@pearwood.info> - 2015-11-03 17:47 +1100
Re: Modern recommended exception handling practices? Chris Angelico <rosuav@gmail.com> - 2015-11-03 18:16 +1100
Re: Modern recommended exception handling practices? Steven D'Aprano <steve@pearwood.info> - 2015-11-03 18:22 +1100
Re: Modern recommended exception handling practices? Chris Angelico <rosuav@gmail.com> - 2015-11-03 18:52 +1100
Re: Modern recommended exception handling practices? Paul Rubin <no.email@nospam.invalid> - 2015-11-03 11:59 -0800
csiph-web