From: Neal Norwitz <nnorwitz@gmail.com>
Date: Sun, 12 Jan 2003 14:56:19 +0000 (+0000)
Subject: SF #665570, curses causes interpreter crash
X-Git-Tag: v2.3c1~2473
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e68fbc44aaa6294bab465b4daa48c6b04031cab8;p=python

SF #665570, curses causes interpreter crash

The interpreter doesn't crash, but it does call exit() in libncurses.
Add a note to this effect.

Will backport
---

diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 40711f3c63..9c1155320a 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -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}{}