Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special variables are missing with pypy #209

Open
saraedum opened this issue Jan 10, 2024 · 0 comments
Open

Special variables are missing with pypy #209

saraedum opened this issue Jan 10, 2024 · 0 comments

Comments

@saraedum
Copy link
Contributor

The following snippet behaves differently with CPython and PyPy.

>>> import cppyy
>>> cppyy.cppdef('void f(){}')
True
>>> cppyy.gbl.f.__sig2exc__
False  # CPython
AttributeError: 'CPPStaticOverload' object has no attribute '__sig2exc__'  # PyPy

I didn't find this mentioned in the documentation here. Is this the expected behavior, currently?


This happened on Linux with cppyy 3.1.2 from conda-forge with PyPy 7.3 and Python 3.10, respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant