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
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 653
    • Issues 653
    • 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 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • PyPy
  • pypypypy
  • Merge requests
  • !819

Merged
Created May 02, 2021 by Ondrej Baranovič@nulanoDeveloper

Add special error messange for '\0' in rstruct.formatiterator for bpo-35714

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 2

Passing the NUL character in a struct format string was undefined behaviour in CPython. PyPy handles it correctly, but the CPython fix introduced a different error message that is causing failures in lib-python.3.test.test_struct, which will be fixed by this PR. Because the error message is coming from RPython, this PR changes it in both PyPy2 and PyPy3, even though it was not fixed for CPython2.

https://bugs.python.org/issue35714, https://github.com/python/cpython/pull/16928/files

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: branch/bpo-35714