[issue6518] Enable 'with' statement in ossaudiodev module

STINNER Victor report at bugs.python.org
Thu Aug 27 00:22:23 CEST 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

@agillesp: a Python function should never return NULL without setting an
error. oss_self() have to call a PyErr_(...) function to set an error.
And I would prefer the name "oss_enter" than the unusual name "oss_self".

----------
nosy: +haypo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6518>
_______________________________________


More information about the Python-bugs-list mailing list