-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.14.0a1 urljoin regression wrt // #125974
Comments
Duplicate of #125926 |
That seemed like a different problem to me, but perhaps the cause is the same, yes. |
This is not a duplicate of #125926. But |
I marked this as duplicate because it seemed like there was some underlying issue introduced into |
I suggest to close this issue as "not a bug". |
In that case, we should at least note the change in What's New in Python 3.14 |
Maybe. But what should we write? This is not the only change in I hesitated between backporting these changes or not. This is a long standing behavior, so user code can have workarounds or even been depending on it. AFAIK the last large changes were in 3.5, and they were not backported. If not backport these changes, they should be documented as a new feature. Note that urljoin() still is not completely RFC 3986 conforming -- some differences I left for backward compatibility. But we perhaps should change these parts too. |
It's a hard choice, but I prefer the conformance to the RFC even if the change breaks backward compatibility. |
Is the output of I'd like to add Python 3.14 to pip's CI but any changes to the output will cause pip's tests to fail (pypa/pip#13138). |
There may be more changes. |
Bug report
Bug description:
The tests of lxml do (simplified):
file:///foo/bar
.file:/foo/bar
.This change of behavior was introduced in fc897fc #123273 cc @serhiy-storchaka
The NEWS entry in that change does not seem to indicate this change was intentional.
CPython versions tested on:
3.14, CPython main branch
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: