mirror of
https://github.com/python/cpython.git
synced 2026-02-13 19:04:37 +00:00
merge 3.5
This commit is contained in:
commit
ab6e156ed3
2 changed files with 8 additions and 0 deletions
|
|
@ -773,6 +773,11 @@ def starttls(self, keyfile=None, certfile=None, context=None):
|
|||
self.ehlo_resp = None
|
||||
self.esmtp_features = {}
|
||||
self.does_esmtp = 0
|
||||
else:
|
||||
# RFC 3207:
|
||||
# 501 Syntax error (no parameters allowed)
|
||||
# 454 TLS not available due to temporary reason
|
||||
raise SMTPResponseException(resp, reply)
|
||||
return (resp, reply)
|
||||
|
||||
def sendmail(self, from_addr, to_addrs, msg, mail_options=[],
|
||||
|
|
|
|||
|
|
@ -41,6 +41,9 @@ Library
|
|||
- Issue #20508: Improve exception message of IPv{4,6}Network.__getitem__.
|
||||
Patch by Gareth Rees.
|
||||
|
||||
- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team
|
||||
Oststrom
|
||||
|
||||
- Issue #21386: Implement missing IPv4Address.is_global property. It was
|
||||
documented since 07a5610bae9d. Initial patch by Roger Luethi.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue