Skip to content

__setattr__ does not always overload operators #69980

@DominikSchmid

Description

@DominikSchmid
BPO 25794
Nosy @berkerpeksag, @serhiy-storchaka, @eryksun, @mlouielu
PRs
  • bpo-25794: Fix type.__setattr__() for non-interned attribute names. #1652
  • [3.6] bpo-25794: Fix type.__setattr__() for non-interned attribute names. (GH-1652) #1673
  • [3.5] bpo-25794: Fix type.__setattr__() for non-interned attribute names. (GH-1652) #1674
  • [2.7] bpo-25794: Fix type.__setattr__() for non-interned or unicode attribute names. (GH-1652) #1675
  • Files
  • bug.py: source code reproducing the bug
  • issue25794_2.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 2017-05-20.07:25:37.980>
    created_at = <Date 2015-12-04.08:52:36.937>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = '__setattr__ does not always overload operators'
    updated_at = <Date 2017-05-20.07:25:37.960>
    user = 'https://bugs.python.org/DominikSchmid'

    bugs.python.org fields:

    activity = <Date 2017-05-20.07:25:37.960>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2017-05-20.07:25:37.980>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2015-12-04.08:52:36.937>
    creator = 'Dominik Schmid'
    dependencies = []
    files = ['41234', '41236']
    hgrepos = []
    issue_num = 25794
    keywords = ['patch']
    message_count = 8.0
    messages = ['255853', '255859', '255862', '292176', '294006', '294015', '294017', '294018']
    nosy_count = 5.0
    nosy_names = ['berker.peksag', 'serhiy.storchaka', 'eryksun', 'Dominik Schmid', 'louielu']
    pr_nums = ['1652', '1673', '1674', '1675']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25794'
    versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Labels

    3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions