-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Open
Labels
3.14bugs and security fixesbugs and security fixesstdlibPython modules in the Lib dirPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
The tests of lxml do (simplified):
from urllib.parse import urljoin
urljoin('file:', '/foo/bar')
- On Python 3.13.0 and earlier, the result of the urljoin call is
file:///foo/bar
. - On Python 3.14.0a1, the result of the urljoin call is
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
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesstdlibPython modules in the Lib dirPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error