This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | Rhamphoryncus |
|---|---|
| Recipients | Rhamphoryncus, benjamin.peterson, pitrou |
| Date | 2008年06月07日.02:25:54 |
| SpamBayes Score | 0.004813867 |
| Marked as misclassified | No |
| Message-id | <1212805555.32.0.923332699742.issue3021@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
PEP 3134 gives reason to change it. __context__ should be set from whatever exception is "active" from the try/finally, thus it should be the inner block, not the outer except block. This flipping of behaviour, and the general ambiguity, is why I suggest a syntax error. "In the face of ambiguity, refuse the temptation to guess." PEP 3134 has not been officially accepted, but many parts have be added anyway. Your cleanups pave the way for the last of it. I suggest asking on python-3000 for a pronouncement on the PEP. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年06月07日 02:25:55 | Rhamphoryncus | set | spambayes_score: 0.00481387 -> 0.004813867 recipients: + Rhamphoryncus, pitrou, benjamin.peterson |
| 2008年06月07日 02:25:55 | Rhamphoryncus | set | spambayes_score: 0.00481387 -> 0.00481387 messageid: <1212805555.32.0.923332699742.issue3021@psf.upfronthosting.co.za> |
| 2008年06月07日 02:25:54 | Rhamphoryncus | link | issue3021 messages |
| 2008年06月07日 02:25:54 | Rhamphoryncus | create | |