Kaydet (Commit) 33cb5c90 authored tarafından Ned Deily's avatar Ned Deily

Issue #5622: merge fix from 3.2.

......@@ -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()
......@@ -55,6 +55,9 @@ Core and Builtins
Library
-------
- Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
- Issue #11408: In threading.Lock.acquire(), only call gettimeofday() when
really necessary. Patch by Charles-François Natali.
......
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