Message131704
| Author |
pitrou |
| Recipients |
Trundle, michael.foord, pitrou, santoso.wijaya |
| Date |
2011年03月21日.23:08:18 |
| SpamBayes Score |
0.0001560947 |
| Marked as misclassified |
No |
| Message-id |
<1300748896.3516.28.camel@localhost.localdomain> |
| In-reply-to |
<1300748224.9.0.234833159919.issue11627@psf.upfronthosting.co.za> |
| Content |
Le lundi 21 mars 2011 à 22:57 +0000, Andreas Stührk a écrit :
> Andreas Stührk <andy-python@hammerhartes.de> added the comment:
>
> Attached is a patch. I'm not too happy about the error message though,
> I think it's more confusing than helpful.
You could try something more explicit, such as
"calling %s() should have returned an instance of BaseException, not %s"
% (type, Py_TYPE(value))
By the way, you have a tab character in your patch. Please only use
spaces for indentation. |
|