Staging
v0.5.1
https://github.com/python/cpython
Revision 7b7320e3b73a5c05f163fc946d4f9d8729857015 authored by Ezio Melotti on 13 March 2010, 01:30:13 UTC, committed by Ezio Melotti on 13 March 2010, 01:30:13 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r78896 | ezio.melotti | 2010-03-13 03:28:34 +0200 (Sat, 13 Mar 2010) | 9 lines

  Merged revisions 78895 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r78895 | ezio.melotti | 2010-03-13 03:21:34 +0200 (Sat, 13 Mar 2010) | 1 line

    #8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
  ........
................
1 parent 9ebc187
Raw File
Tip revision: 7b7320e3b73a5c05f163fc946d4f9d8729857015 authored by Ezio Melotti on 13 March 2010, 01:30:13 UTC
Merged revisions 78896 via svnmerge from
Tip revision: 7b7320e
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