Staging
v0.8.1
https://github.com/python/cpython
Revision 953c1897d2c1683e37899998d4e2bc1a9d85b6c0 authored by Tim Peters on 12 August 2006, 05:17:41 UTC, committed by Tim Peters on 12 August 2006, 05:17:41 UTC
protected by "if verbose:", which caused the test to fail on
all non-Windows boxes.

Note that I deliberately didn't convert this to unittest yet,
because I expect it would be even harder to debug this on Tru64
after conversion.
1 parent 1742f33
Raw File
Tip revision: 953c1897d2c1683e37899998d4e2bc1a9d85b6c0 authored by Tim Peters on 12 August 2006, 05:17:41 UTC
Ah, fudge. One of the prints here actually "shouldn't be"
Tip revision: 953c189
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) ((op)->ob_type == &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