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
4755ab01
Commit
4755ab01
authored
May 10, 2011
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.
parent
f9756c23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
Misc/NEWS
Misc/NEWS
+3
-0
Parser/myreadline.c
Parser/myreadline.c
+1
-0
No files found.
Misc/NEWS
View file @
4755ab01
...
@@ -10,6 +10,9 @@ What's New in Python 3.1.4?
...
@@ -10,6 +10,9 @@ What's New in Python 3.1.4?
Core and Builtins
Core and Builtins
-----------------
-----------------
- Issue #1195: Fix input() if it is interrupted by CTRL+d and then CTRL+c,
clear the end-of-file indicator after CTRL+d.
- Issue #9756: When calling a method descriptor or a slot wrapper descriptor,
- Issue #9756: When calling a method descriptor or a slot wrapper descriptor,
the check of the object type doesn't read the __class__ attribute anymore.
the check of the object type doesn't read the __class__ attribute anymore.
Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
Fix a crash if a class override its __class__ attribute (e.g. a proxy of the
...
...
Parser/myreadline.c
View file @
4755ab01
...
@@ -73,6 +73,7 @@ my_fgets(char *buf, int len, FILE *fp)
...
@@ -73,6 +73,7 @@ my_fgets(char *buf, int len, FILE *fp)
}
}
#endif
/* MS_WINDOWS */
#endif
/* MS_WINDOWS */
if
(
feof
(
fp
))
{
if
(
feof
(
fp
))
{
clearerr
(
fp
);
return
-
1
;
/* EOF */
return
-
1
;
/* EOF */
}
}
#ifdef EINTR
#ifdef EINTR
...
...
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