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

urljoin() undocumented behavior change in Python 3.14. #125926

Closed
Assignees
serhiy-storchaka
Labels
3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error
@felixxm

Description

@felixxm

Bug report

Bug description:

Django is tested with the earliest alpha versions. We noticed a behavior change in theurllib.parse.urljoin() that is used in a few places in Django, e.g. for staticfiles or build-in storages.

Python 3.14.0a1:

>>>fromurllib.parseimporturljoin>>>urljoin("/static/","admin/img/icon-addlink.svg")admin/img/icon-addlink.svg

Python 3.13 and earlier:

>>>fromurllib.parseimporturljoin>>>urljoin("/static/","admin/img/icon-addlink.svg")/static/admin/img/icon-addlink.svg

Is this an intentional change?

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Labels

3.14bugs and security fixesstdlibStandard Library Python modules in the Lib/ directorytype-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