patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.

This commit is contained in:
Georg Brandl 2008-01-07 17:25:53 +00:00
parent 2da0fceba7
commit aed6c66aa8
5 changed files with 45 additions and 5 deletions

View file

@ -1630,7 +1630,7 @@ case_ok(char *buf, Py_ssize_t len, Py_ssize_t namelen, char *name)
FILEFINDBUF3 ffbuf;
APIRET rc;
if (getenv("PYTHONCASEOK") != NULL)
if (Py_GETENV("PYTHONCASEOK") != NULL)
return 1;
rc = DosFindFirst(buf,

View file

@ -79,7 +79,7 @@ void
PyThread_init_thread(void)
{
#ifdef Py_DEBUG
char *p = getenv("THREADDEBUG");
char *p = Py_GETENV("PYTHONTHREADDEBUG");
if (p) {
if (*p)