Home
last modified time | relevance | path

Searched refs:parseaddr (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_rfc822.py239 eq(rfc822.parseaddr('<>'), ('', ''))
240 eq(rfc822.parseaddr('aperson@dom.ain'), ('', 'aperson@dom.ain'))
241 eq(rfc822.parseaddr('bperson@dom.ain (Bea A. Person)'),
243 eq(rfc822.parseaddr('Cynthia Person <cperson@dom.ain>'),
/external/python/cryptography/src/cryptography/x509/
Dgeneral_name.py10 from email.utils import parseaddr
81 name, address = parseaddr(value)
99 _, address = parseaddr(value)
/external/python/cpython2/Doc/library/
Demail.util.rst24 .. function:: parseaddr(address)
34 The inverse of :meth:`parseaddr`, this takes a 2-tuple of the form ``(realname,
42 This method returns a list of 2-tuples of the form returned by ``parseaddr()``.
Drfc822.rst79 .. function:: parseaddr(address)
89 The inverse of :meth:`parseaddr`, this takes a 2-tuple of the form ``(realname,
/external/python/cpython3/Lib/test/test_email/
Dtest_email.py3076 self.assertEqual(utils.parseaddr('<>'), ('', ''))
3077 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '')
3081 utils.parseaddr('a@b@c'),
3085 utils.parseaddr('a@b.c@c'),
3089 utils.parseaddr('a@172.17.0.1@c'),
3103 utils.parseaddr(r'"A \(Very\) Silly Person" <person@dom.ain>'),
3107 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
3115 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
3161 self.assertEqual(utils.parseaddr(x), (a, b))
3162 self.assertEqual(utils.parseaddr(y), (a, b))
[all …]
/external/python/cpython3/Doc/library/
Demail.utils.rst63 .. function:: parseaddr(address)
73 The inverse of :meth:`parseaddr`, this takes a 2-tuple of the form ``(realname,
89 This method returns a list of 2-tuples of the form returned by ``parseaddr()``.
/external/python/cpython2/Lib/email/test/
Dtest_email.py2306 self.assertEqual(Utils.parseaddr('<>'), ('', ''))
2307 self.assertEqual(Utils.formataddr(Utils.parseaddr('<>')), '')
2320 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b))
2328 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b))
2334 self.assertEqual(Utils.parseaddr(x), (a, b))
2335 self.assertEqual(Utils.parseaddr(y), (a, b))
2350 eq(Utils.parseaddr('""example" example"@example.com'),
2352 eq(Utils.parseaddr('"\\"example\\" example"@example.com'),
2354 eq(Utils.parseaddr('"\\\\"example\\\\" example"@example.com'),
2361 self.assertEqual(Utils.parseaddr(x), ('Foo Bar', 'foo@example.com'))
Dtest_email_renamed.py2204 self.assertEqual(utils.parseaddr('<>'), ('', ''))
2205 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '')
2218 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
2226 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b))
2232 self.assertEqual(utils.parseaddr(x), (a, b))
2233 self.assertEqual(utils.parseaddr(y), (a, b))
2241 self.assertEqual(utils.parseaddr(x), ('Foo Bar', 'foo@example.com'))
/external/python/cpython2/Lib/email/
Dutils.py213 def parseaddr(addr): function
/external/python/cpython2/Lib/
Dsmtplib.py141 m = email.utils.parseaddr(addr)[1]
154 displayname, addr = email.utils.parseaddr(addrstring)
Drfc822.py492 def parseaddr(address): function
/external/python/cpython3/Lib/email/
Dutils.py205 def parseaddr(addr): function
/external/python/cpython3/Lib/
Dsmtplib.py150 displayname, addr = email.utils.parseaddr(addrstring)
159 displayname, addr = email.utils.parseaddr(addrstring)
/external/python/cpython2/Misc/NEWS.d/
D2.7.1rc1.rst462 parseaddr now correctly quotes double quote and backslash characters that
/external/python/cpython3/Misc/
DHISTORY11100 - Issue #9286: email.utils.parseaddr no longer concatenates blank-separated
11990 - Issue #1050268: parseaddr now correctly quotes double quote and backslash
30454 - rfc822.py: Entirely rewritten parseaddr() function by Sjoerd
32082 - Much improved parseaddr() in rfc822.
/external/python/cpython2/Misc/
DHISTORY13075 - rfc822.py: Entirely rewritten parseaddr() function by Sjoerd
14703 - Much improved parseaddr() in rfc822.