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 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.
History
Date User Action Args
2016-04-27 04:00:07luiz.poletosetrecipients: + luiz.poleto, orsenthil, r.david.murray, martin.panter, serhiy.storchaka, ztane, demian.brecht
2016-04-27 04:00:07luiz.poletosetmessageid: <1461729607.17.0.841965001791.issue22234@psf.upfronthosting.co.za>
2016-04-27 04:00:07luiz.poletolinkissue22234 messages
2016-04-27 04:00:06luiz.poletocreate