Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
pypy
pypy
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 584
    • Issues 584
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • PyPy
  • pypypypy
  • Issues
  • #3365

Closed
Open
Opened Dec 26, 2020 by Alex Orange@crazycastaDeveloper

lib_pypy/_ctypes/function.py using old print style in pypy3

The file (https://foss.heptapod.net/pypy/pypy/-/blob/branch/py3.7/lib_pypy/_ctypes/function.py#L693) at line 693 is using a python 2 style print redirect to print to stderr. Should be:

            if f is None:
                f = sys.__stderr__
            print(code, file=f)
            exitcode = 1

This can be exercised with the first bit of code here: https://github.com/rougier/python-opengl/blob/master/03-quickstart.rst (I don't want to copy the whole licence blah blah, so just search for "import sys".

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: pypy/pypy#3365