[PyPy-issue] [issue692] zope.i18nmessageid C extension failes
Amaury Forgeot d Arc
pypy-dev-issue at codespeak.net
Mon Apr 25 22:14:48 CEST 2011
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
The issue is that cpyext generates the same tp_new for all builtin types... which simply calls
type.__new__(type, args). The correct call would be unicode.__new__(type, args).
The solution has already been written for tp_setattro, and should be applied to all slots.
See the function build_slot_tp_function() in pypy/module/cpyext/slotdefs.py.
Careful, this can greatly increase the size of code and data of the pypy executable.
status: unread -> chatting
PyPy development tracker <pypy-dev-issue at codespeak.net>
More information about the Pypy-issue