Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #53025 > unrolled thread
| Started by | Skip Montanaro <skip.montanaro@gmail.com> |
|---|---|
| First post | 2013-08-26 21:49 -0500 |
| Last post | 2013-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.
Re: Missing something on exception handling in Python 3 Skip Montanaro <skip.montanaro@gmail.com> - 2013-08-26 21:49 -0500
| From | Skip Montanaro <skip.montanaro@gmail.com> |
|---|---|
| Date | 2013-08-26 21:49 -0500 |
| Subject | Re: 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
Back to top | Article view | comp.lang.python
csiph-web