SHA256
1
0
forked from pool/python
2023-08-12 07:07:32 +00:00
committed by Git OBS Bridge
parent e3016c2d79
commit 400f3dade2

View File

@@ -14,10 +14,10 @@ Co-authored-by: Gregory P. Smith <greg@krypto.org>
---
Doc/library/email.utils.rst | 24 --
Lib/email/test/test_email.py | 113 +++++-----
Lib/email/test/test_email_renamed.py | 3
Lib/email/test/test_email_renamed.py | 4
Lib/email/utils.py | 66 -----
Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst | 5
5 files changed, 78 insertions(+), 133 deletions(-)
5 files changed, 79 insertions(+), 133 deletions(-)
create mode 100644 Misc/NEWS.d/next/Security/2023-06-13-20-52-24.gh-issue-102988.Kei7Vf.rst
--- a/Doc/library/email.utils.rst
@@ -320,7 +320,13 @@ Co-authored-by: Gregory P. Smith <greg@krypto.org>
while clock() < tfin:
--- a/Lib/email/test/test_email_renamed.py
+++ b/Lib/email/test/test_email_renamed.py
@@ -2280,7 +2280,8 @@ Foo
@@ -2275,12 +2275,14 @@ Foo
[('Al Person', 'aperson@dom.ain'),
('Bud Person', 'bperson@dom.ain')])
+ @unittest.skip("Results are too irregular with patches for CVE-2023-27043")
def test_getaddresses_nasty(self):
eq = self.assertEqual
eq(utils.getaddresses(['foo: ;']), [('', '')])
eq(utils.getaddresses(
['[]*-- =~$']),