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 675
    • Issues 675
    • 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
  • Merge requests
  • !539

Refactor buffers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Ronan Lamy requested to merge branch/PyBuffer into branch/py3.5 Apr 27, 2017
  • Overview 0
  • Commits 68
  • Pipelines 0
  • Changes 45

Main changes:

  • Stop conflating C-style buffers with CPython's Py_buffer. Our analogues to the latter are now instances of pypy.interpreter.buffer.BufferView.
  • Standardise uses of the buffer protocol: Use one of space.writebuf_w, space.readbuf_w, space.charbuf_wwhenever possible, and removespace.bufferstr_w`.
  • Optimise some operations on buffers. In particular, fix #2516 (closed).

Note: some of these changes need to be backported to default.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: branch/PyBuffer