Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a9e1ebb

Browse files
committed
Issue #27430: Merge from 3.5
2 parents e807e89 + e39682b commit a9e1ebb

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2666,7 +2666,7 @@ require changes to your code:
26662666

26672667
* The :class:`xml.etree.ElementTree` class now raises an
26682668
:exc:`xml.etree.ElementTree.ParseError` when a parse fails. Previously it
2669-
raised a :exc:`xml.parsers.expat.ExpatError`.
2669+
raised an :exc:`xml.parsers.expat.ExpatError`.
26702670

26712671
* The new, longer :func:`str` value on floats may break doctests which rely on
26722672
the old output format.

Lib/smtplib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def send_message(self, msg, from_addr=None, to_addrs=None,
900900
the recipient addresses contain non-ASCII and the server advertises the
901901
SMTPUTF8 capability, the policy is cloned with utf8 set to True for the
902902
serialization, and SMTPUTF8 and BODY=8BITMIME are asserted on the send.
903-
If the server does not support SMTPUTF8, an SMPTNotSupported error is
903+
If the server does not support SMTPUTF8, an SMTPNotSupported error is
904904
raised. Otherwise the generator is called without modifying the
905905
policy.
906906

Lib/unittest/test/test_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def test_run_call_order__subtests(self):
339339
self._check_call_order__subtests(result, events, expected)
340340

341341
def test_run_call_order__subtests_legacy(self):
342-
# With a legacy result object (without a addSubTest method),
342+
# With a legacy result object (without an addSubTest method),
343343
# text execution stops after the first subtest failure.
344344
events = []
345345
result = LegacyLoggingResult(events)

Misc/NEWS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ Library
193193

194194
- Issue #26556: Update expat to 2.1.1, fixes CVE-2015-1283.
195195

196-
- Fix TLS stripping vulnerability in smptlib, CVE-2016-0772. Reported by Team
196+
- Fix TLS stripping vulnerability in smtplib, CVE-2016-0772. Reported by Team
197197
Oststrom
198198

199199
- Issue #21386: Implement missing IPv4Address.is_global property. It was

0 commit comments

Comments
 (0)