Message152573
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, doerwalter, ezio.melotti, lemburg, vstinner |
| Date |
2012年02月04日.00:52:46 |
| SpamBayes Score |
0.00061238935 |
| Marked as misclassified |
No |
| Message-id |
<1328316767.26.0.669520812194.issue13830@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Codec encoders reuse the same exception object for speed, but set some attributes (start, end and reason). Recreate the args tuple each time that a attribute is set. UnicodeEncodeError and UnicodeDecodeError should maybe override args getter to create a new tuple at each call. |
|