Describe the bug
Equality of joined URLs fails to be compared equal with a readymade URL object.
The following code returns False in the latest release version 1.9.1. It used to return True in previous version.
(yarl.URL("https://hello.com") / "world") == yarl.URL("https://hello.com/world")
To Reproduce
(yarl.URL("https://hello.com") / "world") == yarl.URL("https://hello.com/world")
Expected behavior
Should be equal
Logs/tracebacks
(yarl.URL("https://hello.com") / "world") == yarl.URL("https://hello.com/world")
False
Python Version
multidict Version
$ python -m pip show multidict
Name: multidict
Version: 6.0.2
Required-by: httpie, yarl
yarl Version
$ python -m pip show yarl
1.9.1
OS
macOS
Additional context
No response
Code of Conduct
Describe the bug
Equality of joined URLs fails to be compared equal with a readymade URL object.
The following code returns
Falsein the latest release version1.9.1. It used to returnTruein previous version.To Reproduce
Expected behavior
Should be equal
Logs/tracebacks
(yarl.URL("https://hello.com") / "world") == yarl.URL("https://hello.com/world") FalsePython Version
multidict Version
yarl Version
OS
macOS
Additional context
No response
Code of Conduct