Author: Manuel Jacob <m...@manueljacob.de> Branch: py3.3 Changeset: r82397:573e529840d7 Date: 2016-02-22 17:12 +0100 http://bitbucket.org/pypy/pypy/changeset/573e529840d7/
Log: cpyext: Add defines for PyExc_OSError aliases. diff --git a/pypy/module/cpyext/include/Python.h b/pypy/module/cpyext/include/Python.h --- a/pypy/module/cpyext/include/Python.h +++ b/pypy/module/cpyext/include/Python.h @@ -80,6 +80,11 @@ #include <pypy_macros.h> +#define PyExc_EnvironmentError PyExc_OSError +#define PyExc_IOError PyExc_OSError +// TODO: fix windows support +// #define PyExc_WindowsError PyExc_OSError + #include "patchlevel.h" #include "pyconfig.h" _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit