Staging
v0.5.1
https://github.com/python/cpython
Revision f3297433e309e9591eaa3f36e1d7887e9d0620d7 authored by Victor Stinner on 01 June 2018, 17:39:16 UTC, committed by GitHub on 01 June 2018, 17:39:16 UTC
ServerThread.stop() now joins itself to wait until
DocServer.serve_until_quit() completes and then explicitly sets
its docserver attribute to None to break a reference cycle.

(cherry picked from commit 4cab2cd0c05fcda5fcb128c9eb230253fff88c21)
1 parent 1381bfe
Raw File
Tip revision: f3297433e309e9591eaa3f36e1d7887e9d0620d7 authored by Victor Stinner on 01 June 2018, 17:39:16 UTC
bpo-31238: pydoc ServerThread.stop() now joins itself (GH-3151) (GH-7324)
Tip revision: f329743
pystrcmp.h
#ifndef Py_STRCMP_H
#define Py_STRCMP_H

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *);

#ifdef MS_WINDOWS
#define PyOS_strnicmp strnicmp
#define PyOS_stricmp stricmp
#else
#define PyOS_strnicmp PyOS_mystrnicmp
#define PyOS_stricmp PyOS_mystricmp
#endif

#ifdef __cplusplus
}
#endif

#endif /* !Py_STRCMP_H */
back to top