[issue46756] Incorrect authorization check in urllib.request

Serhiy Storchaka report at bugs.python.org
Fri Feb 25 06:30:32 EST 2022


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

Yes, it is the same. I should search before writing a patch.

But for some reasons I prefer my solution over the one proposed in issue42766: The code is clearer and more strict, tests use public API instead of a private method.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46756>
_______________________________________


More information about the Python-bugs-list mailing list