New submission from Yair Frid <fridy...@gmail.com>:
In docs, it mentions that the function returns true if the base is a 'suburi' 
of test, but in reality, if is_suburi(base, test) then is_suburi(test, base) 
which is wrong in most cases (other than where base ~= test, meaning they are 
the same location)
I am unsure which versions of python are affected, but i suspect most of them 
(although we probably shouldn't backport this fix?)

----------
components: Library (Lib)
messages: 384741
nosy: Fongeme
priority: normal
pull_requests: 23009
severity: normal
status: open
title: urllib.request.HTTPPasswordMgr.is_suburi does not care about order

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42878>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to