[PyPy-issue] [issue602] structmember.h missing definitions

Armin Rigo pypy-dev-issue at codespeak.net
Mon Dec 6 17:36:42 CET 2010


Armin Rigo <armin.rigo at gmail.com> added the comment:

Thanks for the patch!  I see two issues:

* T_BOOL: it should read a single byte, and return w_True or w_False
  (e.g. something like space.wrap(result[0] != 0))

* There is the conversion in the other direction, too, that you are missing.

----------
status: unread -> chatting

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue602>
_______________________________________________________



More information about the Pypy-issue mailing list