GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — urllib.request: Remove deprecated cafile, capath and cadefault parameters in Python 3.13 · Issue #105382 · python/cpython

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

New issue
Copy link
New issue
Copy link
Closed
Closed
urllib.request: Remove deprecated cafile, capath and cadefault parameters in Python 3.13#105382
Copy link
Labels
type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@vstinner
vstinner
opened on Jun 6, 2023
Issue body actions

In Python 3.12, I removed keyfile and certfile parameters of most stdlib modules in issue #94172, but I forgot to remove cafile and capath of the urllib.request module.

I propose to remove the cafile, capath and cadefault parameters of urllib.request.urlopen() in Python 3.13. These parameters are deprecated since Python 3.6: the context parameter should be used instead. Using cafile and capath is less safe than using the context parameter.

Linked PRs

  • gh-105382: Remove urllib.request cafile parameter #105384

Activity

  1. vstinner
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    on Jun 6, 2023
  2. vstinner
    added 4 commits that reference this issue on Jun 6, 2023

    pythongh-105382: Remove urllib.request cafile parameter

    a36f59c

    pythongh-105382: Remove urllib.request cafile parameter

    5b80df3

    pythongh-105382: Remove urllib.request cafile parameter

    896191e

    gh-105382: Remove urllib.request cafile parameter (#105384)

    2587b9f
  3. vstinner
    closed this as completedon Jun 6, 2023
  4. CheckmkCI
    added a commit that references this issue on Sep 10, 2025

    Fix apache_status.py for Python >= 3.13

    b298e2f
  5. CheckmkCI
    added 5 commits that reference this issue on Sep 17, 2025

    Fix apache_status.py for Python >= 3.13

    77dcf2f

    Fix apache_status.py for Python >= 3.13

    15d19e3

    Fix apache_status.py for Python >= 3.13

    0e6cb0a

    Fix apache_status.py for Python >= 3.13

    835fc8e

    Fix apache_status.py for Python >= 3.13

    ebf21a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.