Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 697
    • Issues 697
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PyPyPyPy
  • pypypypy
  • Issues
  • #3441
Closed
Open
Issue created Apr 16, 2021 by Oliver Margetts@olliemathDeveloper

Gevent compatability issue

Hello, I'm trying to dig into the following gevent compatibility issue, which is new in PyPy3.7. The following code will hang forever:

from gevent import monkey
monkey.patch_all()

import threading
import socket


def get():
    socket.gethostbyname('www.python.org')


t = threading.Thread(target=get)
t.start()
t.join()

In PyPy3.6, Cpython, without gevent, or even with the equivalent eventlet patch it works fine:

from eventlet import monkey_patch
monkey_patch()

I've opened a sister issue for gevent https://github.com/gevent/gevent/issues/1785 - it's not obvious to me where the issue lies.

Edited Apr 17, 2021 by Oliver Margetts
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking