Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(151301)

Delta Between Two Patch Sets: Lib/poplib.py

Issue 19689: ssl.create_default_context()
Left Patch Set: Created 5 years, 4 months ago
Right Patch Set: Created 5 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/nntplib.py ('k') | Lib/smtplib.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """A POP3 client class. 1 """A POP3 client class.
2 2
3 Based on the J. Myers POP3 draft, Jan. 96 3 Based on the J. Myers POP3 draft, Jan. 96
4 """ 4 """
5 5
6 # Author: David Ascher <david_ascher@brown.edu> 6 # Author: David Ascher <david_ascher@brown.edu>
7 # [heavily stealing from nntplib.py] 7 # [heavily stealing from nntplib.py]
8 # Updated: Piers Lauder <piers@cs.su.oz.au> [Jul '97] 8 # Updated: Piers Lauder <piers@cs.su.oz.au> [Jul '97]
9 # String method conversion and test jig improvements by ESR, February 2001. 9 # String method conversion and test jig improvements by ESR, February 2001.
10 # Added the POP3_SSL class. Methods loosely based on IMAP_SSL. Hector Urtubia <u rtubia@mrbook.org> Aug 2003 10 # Added the POP3_SSL class. Methods loosely based on IMAP_SSL. Hector Urtubia <u rtubia@mrbook.org> Aug 2003
(...skipping 437 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 a.pass_(sys.argv[3]) 448 a.pass_(sys.argv[3])
449 a.list() 449 a.list()
450 (numMsgs, totalSize) = a.stat() 450 (numMsgs, totalSize) = a.stat()
451 for i in range(1, numMsgs + 1): 451 for i in range(1, numMsgs + 1):
452 (header, msg, octets) = a.retr(i) 452 (header, msg, octets) = a.retr(i)
453 print("Message %d:" % i) 453 print("Message %d:" % i)
454 for line in msg: 454 for line in msg:
455 print(' ' + line) 455 print(' ' + line)
456 print('-----------------------') 456 print('-----------------------')
457 a.quit() 457 a.quit()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+