Staging
v0.8.1
https://github.com/python/cpython
Revision 1fce240d6c4b2b2cc17a86e88c65169e15b9feeb authored by Victor Stinner on 05 October 2020, 16:24:00 UTC, committed by GitHub on 05 October 2020, 16:24:00 UTC
Call urllib.request.urlcleanup() to reset the global
urllib.request._opener.
1 parent 060937d
Raw File
Tip revision: 1fce240d6c4b2b2cc17a86e88c65169e15b9feeb authored by Victor Stinner on 05 October 2020, 16:24:00 UTC
bpo-41939: Fix test_site.test_license_exists_at_url() (#22559)
Tip revision: 1fce240
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