Staging
v0.5.1
https://github.com/python/cpython
Revision 40617a8eae014941aa6af779d6be0b8d36e1db2c authored by Ronald Oussoren on 20 September 2009, 10:37:33 UTC, committed by Ronald Oussoren on 20 September 2009, 10:37:33 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r74962 | ronald.oussoren | 2009-09-20 12:31:22 +0200 (Sun, 20 Sep 2009) | 2 lines

  Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
........
1 parent 04606fb
Raw File
Tip revision: 40617a8eae014941aa6af779d6be0b8d36e1db2c authored by Ronald Oussoren on 20 September 2009, 10:37:33 UTC
Merged revisions 74962 via svnmerge from
Tip revision: 40617a8
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