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

urllib.request: Remove deprecated cafile, capath and cadefault parameters in Python 3.13 #105382

Closed
Labels
type-bugAn unexpected behavior, bug, or error
@vstinner

Description

@vstinner

In Python 3.12, I removedkeyfile andcertfile parameters of most stdlib modules in issue#94172, but I forgot to removecafile andcapath of theurllib.request module.

I propose to remove thecafile,capath andcadefault parameters ofurllib.request.urlopen() in Python 3.13. These parameters are deprecated since Python 3.6: thecontext parameter should be used instead. Usingcafile andcapath is less safe than using thecontext parameter.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-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