Hi,

adding to the list.

Stefan Behnel, 19.02.2012 12:10:
> Some more errors that I see in the logs up to that point, which all hint at
> missing bits of the C-API implementation:
> 
> specialfloatvals.c:490: error: ‘Py_HUGE_VAL’ undeclared

CPython simply defines this as

#ifndef Py_HUGE_VAL
  #define Py_HUGE_VAL HUGE_VAL
#endif

to allow users to override it on buggy platforms.


> buffmt.c:2589: warning: implicit declaration of function ‘PyUnicode_Replace’

Some more missing parts of the C-API:

- PyUnicode_Tailmatch

- PyFrozenSet_Type

Regarding the PyUnicode_*() functions, I could disable their usage when
compiling against PyPy. Would that be helpful? I wouldn't expect them to be
hard to implement, though. And disabling means that we'd have to remember
to re-enable them when they become available at some point ...

Does PyPy's cpyext define a version that we could base that decision on?

Stefan

_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to