Skip to content

Intern namedtuple field names #70169

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 25981
Nosy @brettcannon, @birkenfeld, @rhettinger, @ncoghlan, @benjaminp, @serhiy-storchaka, @1st1
Superseder
  • bpo-26148: String literals are not interned if in a tuple
  • Files
  • namedtuple_intern_field_names.patch
  • show_all_fieldnames_interned.py
  • alternate_namedtuple_intern.patch: Alternate patch (post-exec)
  • show_all_fieldnames_interned2.py: Show that _fields are unaffected by the first patch
  • 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/serhiy-storchaka'
    closed_at = <Date 2016-04-26.08:51:57.560>
    created_at = <Date 2015-12-30.20:05:39.009>
    labels = ['type-feature', 'library']
    title = 'Intern namedtuple field names'
    updated_at = <Date 2016-04-26.08:51:57.560>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2016-04-26.08:51:57.560>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-04-26.08:51:57.560>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-12-30.20:05:39.009>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['41452', '41455', '41457', '41458']
    hgrepos = []
    issue_num = 25981
    keywords = ['patch']
    message_count = 9.0
    messages = ['257238', '257244', '257246', '257247', '257258', '257285', '257286', '264235', '264238']
    nosy_count = 7.0
    nosy_names = ['brett.cannon', 'georg.brandl', 'rhettinger', 'ncoghlan', 'benjamin.peterson', 'serhiy.storchaka', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '26148'
    type = 'enhancement'
    url = 'https://bugs.python.org/issue25981'
    versions = ['Python 3.6']

    Metadata

    Metadata

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions