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 651
    • Issues 651
    • 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
  • PyPy
  • pypypypy
  • Issues
  • #3129

Closed
Open
Created Dec 18, 2019 by Bitbucket Importer@bitbucket_importerMaintainer

sys.implementation.version should return PyPy version, not Python language version

Created originally on Bitbucket by mths95 (Matheus Silva Santos)

Output for sys.implementation.version SHOULD be equal to output of sys.pypy_version_info, as PEP 421 says that this must be the interpreter version, not the language version it implements.

‌

matheus@MacBook-Pro-de-Matheus rdm % pypy3
Python 3.6.1 (784b254d669919c872a505b807db8462b6140973, Oct 06 2019, 23:25:05)
[PyPy 7.1.1-beta0 with GCC 4.2.1 Compatible Apple LLVM 11.0.0 (clang-1100.0.33.8)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy 1.3 released''
>>>> import sys
>>>> sys.implementation.version
(major=3, minor=6, micro=1, releaselevel='final', serial=0)
>>>> sys.pypy_version_info
(major=7, minor=1, micro=1, releaselevel='beta', serial=0)
>>>> 

‌

Edited Aug 06, 2021 by Matti Picus
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking