Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
3de134b1
Commit
3de134b1
authored
Oct 18, 2011
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#12448: merge with 3.2.
parents
bb8606da
6bfecd12
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Lib/smtplib.py
Lib/smtplib.py
+1
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/smtplib.py
View file @
3de134b1
...
...
@@ -940,6 +940,7 @@ if __name__ == '__main__':
def
prompt
(
prompt
):
sys
.
stdout
.
write
(
prompt
+
": "
)
sys
.
stdout
.
flush
()
return
sys
.
stdin
.
readline
().
strip
()
fromaddr
=
prompt
(
"From"
)
...
...
Misc/NEWS
View file @
3de134b1
...
...
@@ -311,6 +311,9 @@ Core and Builtins
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
encoding
,
to
read
and
write
MH
mailboxes
(.
mh_sequences
files
).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment