Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

3.14.0a1 urljoin regression wrt // #125974

Open
Labels
3.14bugs and security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error
@hroncok

Description

@hroncok

Bug report

Bug description:

The tests of lxml do (simplified):

fromurllib.parseimporturljoinurljoin('file:','/foo/bar')
  • On Python 3.13.0 and earlier, the result of the urljoin call isfile:///foo/bar.
  • On Python 3.14.0a1, the result of the urljoin call isfile:/foo/bar.

This change of behavior was introduced infc897fc#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

No one assigned

    Labels

    3.14bugs and security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp