[pypy-issue] [issue991] [Feature Request]: Implement PyErr_SetFromErrnoWithFilenameObject

Philip Jenvey tracker at bugs.pypy.org
Fri Mar 21 22:44:56 CET 2014


Philip Jenvey <pjenvey at underboss.org> added the comment:

pypy already provides PyErr_SetFromErrnoWithFilename so writing a 
PyErr_SetFromErrnoWithFilenameObject should be a pretty straightforward task for 
anyone who's interested.

Here its impl:

https://bitbucket.org/pypy/pypy/src/f6f44dc30721299a1005b642653079d736862d65/pyp
y/module/cpyext/pyerrors.py?at=default#cl-145

tests:

https://bitbucket.org/pypy/pypy/src/f6f44dc30721299a1005b642653079d736862d65/pyp
y/module/cpyext/test/test_pyerrors.py?at=default#cl-201

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue991>
________________________________________


More information about the pypy-issue mailing list