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 xtreak
Recipients docs@python, martin.panter, matrixise, orsenthil, sylye, xtreak
Date 2019-02-21.14:02:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550757773.8.0.501644792823.issue36064@roundup.psfhosted.org>
In-reply-to
Content
Stéphane, I don't know much about urllib to review this. The reason I said it's better document this is that there was an extended discussion on issue25439 along with a PR about type checking breaking some behavior and ambiguity in what is allowed currently. This PR seems to encode str to bytes implicitly and it needs to be documented as such that this str is encoded to bytes under the hood. I am not sure of backporting it as a fix to stable releases. I think it's better to raise an error instead of doing something implicitly.  I am adding Martin and Senthil to the issue who might have a better context.
History
Date User Action Args
2019-02-21 14:02:53xtreaksetrecipients: + xtreak, orsenthil, docs@python, martin.panter, matrixise, sylye
2019-02-21 14:02:53xtreaksetmessageid: <1550757773.8.0.501644792823.issue36064@roundup.psfhosted.org>
2019-02-21 14:02:53xtreaklinkissue36064 messages
2019-02-21 14:02:53xtreakcreate