Staging
v0.5.1
https://github.com/python/cpython
Revision b9a4501179eec7762fcf3536833707f58d2474d2 authored by Antoine Pitrou on 21 November 2014, 01:04:21 UTC, committed by Antoine Pitrou on 21 November 2014, 01:04:21 UTC
daemon threads run while the interpreter is shutting down; instead,
these threads are now killed when they try to take the GIL), as it seems
to break some existing code.
1 parent 527d4ac
Raw File
Tip revision: b9a4501179eec7762fcf3536833707f58d2474d2 authored by Antoine Pitrou on 21 November 2014, 01:04:21 UTC
Issue #21963: backout issue #1856 patch (avoid crashes and lockups when
Tip revision: b9a4501
moduleobject.h

/* Module object interface */

#ifndef Py_MODULEOBJECT_H
#define Py_MODULEOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PyModule_Type;

#define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type)
#define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type)

PyAPI_FUNC(PyObject *) PyModule_New(const char *);
PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *);
PyAPI_FUNC(char *) PyModule_GetName(PyObject *);
PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *);
PyAPI_FUNC(void) _PyModule_Clear(PyObject *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_MODULEOBJECT_H */
back to top