mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
patch #1668: clarify envvar docs; rename THREADDEBUG to PYTHONTHREADDEBUG.
This commit is contained in:
parent
2da0fceba7
commit
aed6c66aa8
5 changed files with 45 additions and 5 deletions
|
@ -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,
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue