[pypy-issue] [issue1119] Py_GetArgcArgv not exposed

passy tracker at bugs.pypy.org
Tue Apr 10 14:16:42 CEST 2012


New submission from passy <phartig at rdrei.net>:

Py_GetArgcArgv appears to be a private CPython API, but there are packages relying on it, 
like procname[0]. Compiling against PyPy works fine, but importing the module fails:

>>>> import procname
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: unable to load extension module '/home/.../virtualenv/site-
packages/procname.pypy-18.so': /home/.../virtualenv/site-packages/procname.pypy-18.so: 
undefined symbol: Py_GetArgcArgv

Is this possible to implement in PyPy or is there a different way to obtain the original 
arguments the process was started that is compatible with PyPy?

[0] https://github.com/lericson/procname/blob/master/procnamemodule.c

----------
messages: 4207
nosy: passy, pypy-issue
priority: wish
status: unread
title: Py_GetArgcArgv not exposed

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1119>
________________________________________


More information about the pypy-issue mailing list