Message227278
| Author |
Mark.Shannon |
| Recipients |
Mark.Shannon |
| Date |
2014年09月22日.15:51:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1411401083.5.0.108064936526.issue22462@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Modules/pyexpat.c includes some archaic code to create temporary frames
so that, in even of an exception being raised, expat appears in the traceback.
The way this is implemented is a problem for three reasons:
1. It violates PEP 384.
2. It is incorrect, see http://bugs.python.org/issue6359.
3. It is inefficient, as a frame is generated for each call, regardless of whether an exception is raised or not.
The attached patch fixes these issues. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年09月22日 15:51:23 | Mark.Shannon | set | recipients:
+ Mark.Shannon |
| 2014年09月22日 15:51:23 | Mark.Shannon | set | messageid: <1411401083.5.0.108064936526.issue22462@psf.upfronthosting.co.za> |
| 2014年09月22日 15:51:23 | Mark.Shannon | link | issue22462 messages |
| 2014年09月22日 15:51:23 | Mark.Shannon | create |
|