mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
#12448: merge with 3.2.
This commit is contained in:
commit
3de134b1d1
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||||
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).
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue