Kaydet (Commit) 3de134b1 authored tarafından Ezio Melotti's avatar Ezio Melotti

#12448: merge with 3.2.

...@@ -940,6 +940,7 @@ if __name__ == '__main__': ...@@ -940,6 +940,7 @@ if __name__ == '__main__':
def prompt(prompt): def prompt(prompt):
sys.stdout.write(prompt + ": ") sys.stdout.write(prompt + ": ")
sys.stdout.flush()
return sys.stdin.readline().strip() return sys.stdin.readline().strip()
fromaddr = prompt("From") fromaddr = prompt("From")
......
...@@ -311,6 +311,9 @@ Core and Builtins ...@@ -311,6 +311,9 @@ Core and Builtins
Library Library
------- -------
- Issue #12448: smtplib now flushes stdout while running ``python -m smtplib``
in order to display the prompt correctly.
- Issue #12454: The mailbox module is now using ASCII, instead of the locale - Issue #12454: The mailbox module is now using ASCII, instead of the locale
encoding, to read and write MH mailboxes (.mh_sequences files). encoding, to read and write MH mailboxes (.mh_sequences files).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment