GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Signature for `__release_buffer__` is incorrect · Issue #104955 · python/cpython

Signature for __release_buffer__ is incorrect #104955

New issue
Copy link
New issue
Copy link
Closed
#104956
Closed
Signature for __release_buffer__ is incorrect#104955
#104956
Copy link
Assignees
JelleZijlstra
Labels
3.12only security fixesonly security fixes3.13only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Description

@JelleZijlstra
JelleZijlstra
opened on May 26, 2023
Issue body actions

Currently the signature for PEP-688's __release_buffer__ method is as follows:

>>> bytearray.__release_buffer__.__text_signature__
'($self, /)'

This is incorrect; the method takes a single argument that according to the PEP should be called buffer.

Linked PRs

  • gh-104955: Fix __release_buffer__ signature #104956
  • [3.12] gh-104955: Fix __release_buffer__ signature (GH-104956) #104973

Activity

  1. JelleZijlstra
    added
    type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
    3.12only security fixesonly security fixes
    3.13only security fixesonly security fixes
    on May 26, 2023
  2. JelleZijlstra
    self-assigned this
    on May 26, 2023
  3. JelleZijlstra
    added a commit that references this issue on May 26, 2023

    pythongh-104955: Fix __release_buffer__ signature

    74617c7
  4. JelleZijlstra
    closed this as completedin #104956on May 26, 2023
  5. JelleZijlstra
    added a commit that references this issue on May 26, 2023

    gh-104955: Fix __release_buffer__ signature (#104956)

    6e1eccd
  6. miss-islington
    added a commit that references this issue on May 26, 2023

    pythongh-104955: Fix __release_buffer__ signature (pythonGH-104956)

    5a9c46e
  7. JelleZijlstra
    added a commit that references this issue on May 26, 2023

    [3.12] gh-104955: Fix __release_buffer__ signature (GH-104956) (#104973)

    3158b4d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @JelleZijlstra
    JelleZijlstra

Labels

3.12only security fixesonly security fixes3.13only security fixesonly security fixestype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.