Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • pypy pypy
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 650
    • Issues 650
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to Heptapod 0.31.0 on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

  • PyPy
  • pypypypy
  • Issues
  • #2221

Closed
Open
Created Jan 03, 2016 by Bitbucket Importer@bitbucket_importerMaintainer

PyErr_SetFromWindowsErrWith* (win32), _Py_stat_struct (py3.5) missing

Created originally on Bitbucket by benhoyt (Ben Hoyt)

I'm the author of the scandir module and I've been trying to get it compiling on PyPy3 (see this issue). I did get it compiling, but it crashes on the DirEntry.stat() call due to this line of code in _scandir.c:

PyStructSequence_SET_ITEM(v, 0, PyLong_FromLong((long)st->st_mode));

I believe the reason is that this is a macro that directly sets something in a structure, which PyPy probably doesn't like?

I realize supporting the C API is "alpha level" and probably isn't a top priority for PyPy right now, but just thought I'd make you aware. And if there's an easy fix I could do in _scandir.c, I'd appreciate any pointers there.

I'm running PyPy3 2.4.0 on Linux.

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