Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 677
    • Issues 677
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • 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
  • #3589
Closed
Open
Issue created Nov 02, 2021 by Bill Fisher@byllyfish

PyPy-3.8-7.3.7 : Missing '_overlapped.ERROR_OPERATION_ABORTED' needed for asyncio

I just tried testing my asyncio Python project on the latest PyPy-3.8. Looks good, but the failing tests all have the same problem:

trans = <cdata 'unsigned long[1]' owning 4 bytes>, key = 0
ov = <_overlapped.Overlapped object at 0x0000020164b30f00>

    def finish_send(trans, key, ov):
        try:
            return ov.getresult()
        except OSError as exc:
            if exc.winerror in (_overlapped.ERROR_NETNAME_DELETED,
>                               _overlapped.ERROR_OPERATION_ABORTED):
E                               AttributeError: module '_overlapped' has no attribute 'ERROR_OPERATION_ABORTED'

C:\hostedtoolcache\windows\PyPy\3.8.12\x64\Lib\asyncio\windows_events.py:541: AttributeError

The only mention of _overlapped that I can find indicates it was added a year ago. Maybe it needs an update? Thanks!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking