Searched refs:formataddr (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Doc/library/ |
D | email.util.rst | 32 .. function:: formataddr(pair) 148 The :func:`dump_address_pair` function has been removed; use :func:`formataddr`
|
/external/python/cpython3/Lib/test/test_email/ |
D | test_email.py | 3077 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '') 3095 utils.formataddr(('A Silly Person', 'person@dom.ain')), 3100 utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')), 3107 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 3111 utils.formataddr((r'Arthur \Backslash\ Foobar', 'person@dom.ain')), 3115 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 3123 self.assertEqual(utils.formataddr((name, addr)), utf8_base64) 3124 self.assertEqual(utils.formataddr((name, addr), 'iso-8859-1'), 3138 self.assertEqual(utils.formataddr((name, addr), mock), mock_expected) 3139 self.assertEqual(utils.formataddr((name, addr), Charset('utf-8')), [all …]
|
/external/python/cpython2/Lib/email/ |
D | utils.py | 85 def formataddr(pair): function
|
/external/python/cpython2/Lib/email/test/ |
D | test_email_renamed.py | 2205 self.assertEqual(utils.formataddr(utils.parseaddr('<>')), '') 2209 utils.formataddr(('A Silly Person', 'person@dom.ain')), 2214 utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')), 2218 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 2222 utils.formataddr(('Arthur \Backslash\ Foobar', 'person@dom.ain')), 2226 self.assertEqual(utils.parseaddr(utils.formataddr((a, b))), (a, b)) 2235 self.assertEqual(utils.formataddr((a, b)), y) 2245 utils.formataddr(('A Silly; Person', 'person@dom.ain')),
|
D | test_email.py | 2307 self.assertEqual(Utils.formataddr(Utils.parseaddr('<>')), '') 2311 Utils.formataddr(('A Silly Person', 'person@dom.ain')), 2316 Utils.formataddr(('A (Very) Silly Person', 'person@dom.ain')), 2320 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b)) 2324 Utils.formataddr(('Arthur \Backslash\ Foobar', 'person@dom.ain')), 2328 self.assertEqual(Utils.parseaddr(Utils.formataddr((a, b))), (a, b)) 2337 self.assertEqual(Utils.formataddr((a, b)), y) 2365 Utils.formataddr(('A Silly; Person', 'person@dom.ain')),
|
/external/python/cpython3/Lib/email/ |
D | utils.py | 76 def formataddr(pair, charset='utf-8'): function
|
/external/python/cpython3/Doc/library/ |
D | email.utils.rst | 71 .. function:: formataddr(pair, charset='utf-8')
|
/external/python/cpython3/Lib/test/ |
D | test_smtplib.py | 1231 message['From'] = email.utils.formataddr(('Michaël', 'michael@example.com')) 1232 message['To'] = email.utils.formataddr(('René', 'rene@example.com'))
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 2417 * :func:`email.utils.formataddr` now does the correct content transfer
|
/external/python/cpython3/Misc/ |
D | HISTORY | 9829 - Issue #1690608: email.util.formataddr is now RFC 2047 aware: it now has a
|