]> granicus.if.org Git - python/commitdiff
SF #665570, curses causes interpreter crash
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 12 Jan 2003 14:56:19 +0000 (14:56 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 12 Jan 2003 14:56:19 +0000 (14:56 +0000)
The interpreter doesn't crash, but it does call exit() in libncurses.
Add a note to this effect.

Will backport

Doc/lib/libcurses.tex

index 40711f3c6388bf99d0c5b41cb837a1fda58144fb..9c1155320a152bd7736c1d099166d8763214a0b9 100644 (file)
@@ -266,7 +266,8 @@ to the new definition.
 
 \begin{funcdesc}{initscr}{}
 Initialize the library. Returns a \class{WindowObject} which represents
-the whole screen.
+the whole screen.  \note{If there is an error opening the terminal,
+the underlying curses library may cause the interpreter to exit.}
 \end{funcdesc}
 
 \begin{funcdesc}{isendwin}{}