Message264347
| Author |
luiz.poleto |
| Recipients |
demian.brecht, luiz.poleto, martin.panter, orsenthil, r.david.murray, serhiy.storchaka, ztane |
| Date |
2016年04月27日.04:00:06 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1461729607.17.0.841965001791.issue22234@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As for urlparse_empty_bad_arg_disallow.patch, I didn't go too deep into testing it but I found that calling urlparse with different non-str args are producing different results:
urlparse({})
TypeError: unhashable type: 'slice'
urlparse([])
AttributeError: 'list' object has no attribute 'decode'
urlparse(())
AttributeError: 'tuple' object has no attribute 'decode'
I thought they should all raise a TypeError but again, I am not sure it is working as expected by the patch's author. |
|