[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-07-07 Thread Guido van Rossum
Change by Guido van Rossum : -- nosy: -gvanrossum ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-07-06 Thread Yair Frid
Yair Frid added the comment: This issue was discovered when i was writing unit tests for #42766, since #42766 was fixed when i discovered it, i realized i might want a new issue, i don't mind moving this to be a comment, but there *are* 2 distinct test cases that fail: a test case that

[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yair, is this really a separate bug from that reported in #42766? In other words, are there separate and distinct failing test cases? If not, this should be closed as a duplicate. -- nosy: +orsenthil, terry.reedy

[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-01-10 Thread Guido van Rossum
Guido van Rossum added the comment: Cheryl, do you have time to review this? -- nosy: +cheryl.sabella, gvanrossum ___ Python tracker ___

[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-01-09 Thread Yair Frid
New submission from Yair Frid : 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