You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: