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 orsenthil
Recipients demian.brecht, luiz.poleto, martin.panter, orsenthil, r.david.murray, serhiy.storchaka, ztane
Date 2016-04-27.06:39:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461739143.58.0.255315785312.issue22234@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy:

I left review comments on the patch too. 
I agree to "tightening" of the input arg type in these urlparse functions. 

Before we for the next version, I think, it will be helpful to enumerate the behavior for wrong arg types for these functions that you would like to see.

1. Invalid formats like {}, [], None could just be TypeError.

2. The mix of bytes and str should be deprecated and we could give the suggestion for the encouraged single type in the deprecation warning.

3. Any thing else w.r.t to special rules for various parts of url.

In general, if we are going with the deprecation cycle, we would as well go with deciding on what to allow and present it in a simple way.
History
Date User Action Args
2016-04-27 06:39:03orsenthilsetrecipients: + orsenthil, r.david.murray, martin.panter, serhiy.storchaka, ztane, demian.brecht, luiz.poleto
2016-04-27 06:39:03orsenthilsetmessageid: <1461739143.58.0.255315785312.issue22234@psf.upfronthosting.co.za>
2016-04-27 06:39:03orsenthillinkissue22234 messages
2016-04-27 06:39:03orsenthilcreate