[pypy-issue] Issue #2637: Cannot create a gRPC server with PyPy (pypy/pypy)

Omer Katz issues-reply at bitbucket.org
Sun Aug 20 05:17:36 EDT 2017

New issue 2637: Cannot create a gRPC server with PyPy

Omer Katz:

This issue is present in PyPy2/3 5.8.0 and possibly previous versions which I haven't checked.
When creating a gRPC server we get an RPython fatal error because CPyListStrategy_getstorage_copy is not implemented.

You can reproduce this problem by installing grpc:


pip install grpcio

and running the following script:


import grpc
from concurrent import futures
server = grpc.server(futures.ThreadPoolExecutor(max_workers=1))

The code snippet above returns the following error:


RPython traceback:
  File "pypy_interpreter.c", line 38711, in BuiltinCode4_fastcall_4
  File "implement_2.c", line 12927, in fastfunc_descr_setslice_4
  File "pypy_objspace_std_1.c", line 22711, in EmptyListStrategy_setslice
  File "pypy_module_cpyext_2.c", line 16832, in CPyListStrategy_getstorage_copy
Fatal RPython error: NotImplementedError
Aborted (core dumped)

More information about the pypy-issue mailing list