Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #53025 > unrolled thread

Re: Missing something on exception handling in Python 3

Started bySkip Montanaro <skip.montanaro@gmail.com>
First post2013-08-26 21:49 -0500
Last post2013-08-26 21:49 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Missing something on exception handling in Python 3 Skip Montanaro <skip.montanaro@gmail.com> - 2013-08-26 21:49 -0500

#53025 — Re: Missing something on exception handling in Python 3

FromSkip Montanaro <skip.montanaro@gmail.com>
Date2013-08-26 21:49 -0500
SubjectRe: Missing something on exception handling in Python 3
Message-ID<mailman.252.1377571787.19984.python-list@python.org>
> Do this:
>
>     raise LockFailed("Failed to create %s" % self.path) from None

Thanks. Is there some construct which will work in 2.x and 3.x?

Skip

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web