Staging
v0.5.1
https://github.com/python/cpython
Revision 8cc7d88bbcae32e5b7e12b0c4cfe34de2cff8166 authored by Benjamin Peterson on 01 June 2009, 23:14:51 UTC, committed by Benjamin Peterson on 01 June 2009, 23:14:51 UTC
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r73073 | benjamin.peterson | 2009-05-31 09:43:00 -0500 (Sun, 31 May 2009) | 1 line

  remove function import
........
  r73074 | benjamin.peterson | 2009-05-31 10:00:27 -0500 (Sun, 31 May 2009) | 1 line

  __enter__ and __exit__ must be on the class
........
  r73089 | andrew.kuchling | 2009-05-31 19:14:19 -0500 (Sun, 31 May 2009) | 1 line

  The class for regexes isn't called RegexObject any more; correct the text
........
1 parent be5f371
Raw File
Tip revision: 8cc7d88bbcae32e5b7e12b0c4cfe34de2cff8166 authored by Benjamin Peterson on 01 June 2009, 23:14:51 UTC
Merged revisions 73073-73074,73089 via svnmerge from
Tip revision: 8cc7d88
warnings.h
#ifndef Py_WARNINGS_H
#define Py_WARNINGS_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_FUNC(PyObject*) _PyWarnings_Init(void);

PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t);
PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int,
                                    const char *, PyObject *);

/* DEPRECATED: Use PyErr_WarnEx() instead. */
#define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1)

#ifdef __cplusplus
}
#endif
#endif /* !Py_WARNINGS_H */

back to top