Issue #5622: merge fix from 3.2.
This commit is contained in:
commit
33cb5c9017
|
@ -43,7 +43,8 @@ def wrapper(func, *args, **kwds):
|
||||||
return func(stdscr, *args, **kwds)
|
return func(stdscr, *args, **kwds)
|
||||||
finally:
|
finally:
|
||||||
# Set everything back to normal
|
# Set everything back to normal
|
||||||
stdscr.keypad(0)
|
if 'stdscr' in locals():
|
||||||
curses.echo()
|
stdscr.keypad(0)
|
||||||
curses.nocbreak()
|
curses.echo()
|
||||||
curses.endwin()
|
curses.nocbreak()
|
||||||
|
curses.endwin()
|
||||||
|
|
|
@ -55,6 +55,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #5622: Fix curses.wrapper to raise correct exception if curses
|
||||||
|
initialization fails.
|
||||||
|
|
||||||
- Issue #11408: In threading.Lock.acquire(), only call gettimeofday() when
|
- Issue #11408: In threading.Lock.acquire(), only call gettimeofday() when
|
||||||
really necessary. Patch by Charles-François Natali.
|
really necessary. Patch by Charles-François Natali.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue