Can't compile C extensions on pypy3 aka alternatives for PyModule_GetState

Hello, I'm the author of psutil and I received 2 bug reports complaining about lack of PyModule_GetState: https://github.com/giampaolo/psutil/issues/853 https://github.com/giampaolo/psutil/issues/1045 There is also a ticket for pypy: https://bitbucket.org/pypy/pypy/issues/2450/cant-import-psutil-on-pypy3-miss... Since it seems this is not going to be fixed any time soon I'm curios: does this mean C extension modules cannot be compiled with pypy3? Are there alternatives to PyModule_GetState() which could be used? Thanks in advance. -- Giampaolo - http://grodola.blogspot.com

Hi, On 2 May 2017 at 22:23, Giampaolo Rodola' <g.rodola@gmail.com> wrote:
I'm the author of psutil and I received 2 bug reports complaining about lack of PyModule_GetState:
Thanks for passing the complains :-) Implemented PyModule_GetState() in 11e536df3c51. Can you check if that's enough for psutil? Wait for tonight's nightly build at http://buildbot.pypy.org/nightly/py3.5/ (at least 2017-05-15). A bientôt, Armin.

Hi, On 2 May 2017 at 22:23, Giampaolo Rodola' <g.rodola@gmail.com> wrote:
I'm the author of psutil and I received 2 bug reports complaining about lack of PyModule_GetState:
Thanks for passing the complains :-) Implemented PyModule_GetState() in 11e536df3c51. Can you check if that's enough for psutil? Wait for tonight's nightly build at http://buildbot.pypy.org/nightly/py3.5/ (at least 2017-05-15). A bientôt, Armin.
participants (2)
-
Armin Rigo
-
Giampaolo Rodola'