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
2d12f966
Commit
2d12f966
authored
Mar 09, 2011
by
Ned Deily
Browse files
Options
Browse Files
Download
Plain Diff
Issue #5622: merge fix from 3.1.
parents
d9512e9a
d2853180
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
Lib/curses/wrapper.py
Lib/curses/wrapper.py
+5
-4
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/curses/wrapper.py
View file @
2d12f966
...
...
@@ -43,7 +43,8 @@ def wrapper(func, *args, **kwds):
return
func
(
stdscr
,
*
args
,
**
kwds
)
finally
:
# Set everything back to normal
stdscr
.
keypad
(
0
)
curses
.
echo
()
curses
.
nocbreak
()
curses
.
endwin
()
if
'stdscr'
in
locals
():
stdscr
.
keypad
(
0
)
curses
.
echo
()
curses
.
nocbreak
()
curses
.
endwin
()
Misc/NEWS
View file @
2d12f966
...
...
@@ -31,6 +31,9 @@ Core and Builtins
Library
-------
- Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
- Issue #11391: Writing to a mmap object created with
``mmap.PROT_READ|mmap.PROT_EXEC`` would segfault instead of raising a
TypeError. Patch by Charles-François Natali.
...
...
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