Skip to content

array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag #88074

@gvanrossum

Description

@gvanrossum
BPO 43908
Nosy @gvanrossum, @vstinner, @tiran, @markshannon, @serhiy-storchaka, @gvanrossum, @corona10, @pablogsal, @miss-islington, @shihai1991, @erlend-aasland, @shreyanavigyan
PRs
  • bpo-43908: Add Py_TPFLAGS_IMMUTABLETYPE flag #25520
  • bpo-43908: Make array.array type immutable #25696
  • bpo-43908: Make re types immutable #25697
  • bpo-43908: Document Static Types in the C API #25710
  • bpo-43973: Use Py_TPFLAGS_IMMUTABLETYPE to check for class assignments #25714
  • bpo-43908: check_set_special_type_attr() and type_set_annotations() now check for immutable flag #25743
  • bpo-43908: Mark ssl, hash, and hmac types as immutable (GH-25792) #25792
  • bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag #25816
  • [3.10] bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag (GH-25816) #26115
  • bpo-43908: Make heap types converted during 3.10 alpha immutable #26351
  • [3.10] bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) #26766
  • bpo-43908: Types with Py_TPFLAGS_IMMUTABLETYPE can now inherit the vectorcall protocol #27001
  • Files
  • patch.diff
  • apply-to-all.diff
  • list.txt
  • apply-to-all.diff: modified
  • tests_log.txt
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/vstinner'
    closed_at = None
    created_at = <Date 2021-04-21.18:52:19.855>
    labels = ['type-bug', 'library', '3.10', '3.11']
    title = 'array.array should remain immutable: add Py_TPFLAGS_IMMUTABLETYPE flag'
    updated_at = <Date 2022-01-26.17:39:44.786>
    user = 'https://github.com/gvanrossum'

    bugs.python.org fields:

    activity = <Date 2022-01-26.17:39:44.786>
    actor = 'vstinner'
    assignee = 'vstinner'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-04-21.18:52:19.855>
    creator = 'gvanrossum'
    dependencies = []
    files = ['49970', '49980', '49987', '49990', '49994']
    hgrepos = []
    issue_num = 43908
    keywords = ['patch']
    message_count = 120.0
    messages = ['391540', '391578', '391582', '391584', '391585', '391595', '391596', '391597', '391598', '391600', '391636', '391701', '391720', '391728', '391730', '391756', '391816', '391846', '391866', '391867', '391868', '391895', '391901', '391918', '391922', '391930', '391932', '391933', '391935', '391938', '391946', '391947', '391954', '391959', '391960', '391963', '391964', '391971', '391993', '392029', '392038', '392076', '392079', '392080', '392083', '392085', '392086', '392087', '392088', '392089', '392092', '392098', '392101', '392103', '392105', '392236', '392237', '392238', '392240', '392247', '392248', '392250', '392251', '392262', '392263', '392264', '392283', '392284', '392285', '392286', '392287', '392288', '392311', '392312', '392314', '392316', '392318', '392324', '392325', '392389', '392402', '392403', '392407', '392408', '392409', '392410', '392413', '392416', '392420', '392421', '392422', '392430', '392439', '392440', '392441', '392443', '392445', '392446', '392488', '392638', '392670', '392671', '392693', '393618', '394314', '394315', '394319', '395178', '395983', '395988', '396829', '396830', '397134', '397163', '397164', '397170', '397171', '397232', '411782', '411784']
    nosy_count = 12.0
    nosy_names = ['gvanrossum', 'vstinner', 'christian.heimes', 'Mark.Shannon', 'serhiy.storchaka', 'Guido.van.Rossum', 'corona10', 'pablogsal', 'miss-islington', 'shihai1991', 'erlendaasland', 'shreyanavigyan']
    pr_nums = ['25520', '25696', '25697', '25710', '25714', '25743', '25792', '25816', '26115', '26351', '26766', '27001']
    priority = None
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue43908'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy