[pypy-dev] PyPy 1.4 released

Antonio Cuni anto.cuni at gmail.com
Sat Nov 27 07:17:59 CET 2010


On 27/11/10 03:09, Phyo Arkar wrote:
> libmagic python fails to work on pypy (python-magic)
>
> it uses ctypes and easy-install try to download and instaill it , but it fails.
>
> how to enable ctypes on pypy?

Hi Phyo,
ctypes *is* enabled on pypy by default.

If python-magic does not work, it can either:

1) be a pypy bug: please report it as an issue (possibly with a simple failing 
test and the full traceack)

2) a python-magic issue, e.g. if it plays dirty ctypes trick that cannot 
really be supported by pypy due to the internal differences with CPython

ciao,
Anto



More information about the Pypy-dev mailing list