Skip to content

Signature for __release_buffer__ is incorrect #104955

Description

@JelleZijlstra

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

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.12only security fixes
    3.13only security fixes
    on May 26, 2023
  2. added a commit that references this issue on May 26, 2023
  3. added a commit that references this issue on May 26, 2023
  4. added a commit that references this issue on May 26, 2023
  5. added a commit that references this issue on May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions