mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Remove the keyfile, certfile and check_hostname parameters, deprecated since Python 3.6, in modules: ftplib, http.client, imaplib, poplib and smtplib. Use the context parameter (ssl_context in imaplib) instead. Parameters following the removed parameters become keyword-only parameters. ftplib: Remove the FTP_TLS.ssl_version class attribute: use the context parameter instead.
5 lines
288 B
ReStructuredText
5 lines
288 B
ReStructuredText
Remove the *keyfile*, *certfile* and *check_hostname* parameters, deprecated
|
|
since Python 3.6, in modules: :mod:`ftplib`, :mod:`http.client`,
|
|
:mod:`imaplib`, :mod:`poplib` and :mod:`smtplib`. Use the *context*
|
|
parameter (*ssl_context* in :mod:`imaplib`) instead. Patch by Victor
|
|
Stinner.
|