summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2020-01-12-16-34-28.bpo-39259.J_yBVq.rst
blob: 6cc490eb35e6ebd69830bc96dcd5eec53f7a46d7 (plain)
1
2
3
:class:`~smtplib.SMTP` and :class:`~smtplib.SMTP_SSL` now raise a
:class:`ValueError` if the given timeout for their constructor is zero to
prevent the creation of a non-blocking socket. Patch by Dong-hee Na.