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

Fwd: gevent.local is broken on PyPy2-7.3.3 #1709

Closed
navytux opened this issue Nov 27, 2020 · 3 comments
Closed

Fwd: gevent.local is broken on PyPy2-7.3.3 #1709

navytux opened this issue Nov 27, 2020 · 3 comments

Comments

@navytux
Copy link
Contributor

navytux commented Nov 27, 2020

  • gevent version: 20.9.0
  • Python version: PyPy 7.3.3 - Python 2.7.18 (pypy2.7-v7.3.3-linux64.tar.bz2 downloaded from pypy.org)
  • Operating System: Linux deco 5.9.0-3-amd64 #1 SMP Debian 5.9.9-1 (2020-11-19) x86_64 GNU/Linux

Description:

Testing pygolang on pypy revealed the following:

>>>> gevent.local.local()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unbound method __new__() must be called with local instance as first argument (got type instance instead)

It used to work with PyPy 7.3.2:

https://foss.heptapod.net/pypy/pypy/-/issues/3352#note_148448

@navytux
Copy link
Contributor Author

navytux commented Nov 28, 2020

@jamadden
Copy link
Member

jamadden commented Dec 4, 2020

Fixed in 1905f56.

Thanks for the report.

@jamadden jamadden closed this as completed Dec 4, 2020
@navytux
Copy link
Contributor Author

navytux commented Dec 4, 2020

@jamadden you are welcome. Thanks for the fix.

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

2 participants