Skip to content

RHS not consulted in str % subclass_of_str case. #72784

@mjpieters

Description

@mjpieters
mannequin
BPO 28598
Nosy @mjpieters, @berkerpeksag, @serhiy-storchaka, @zhangyangyu
PRs
  • bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations #51
  • [3.5] bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations #94
  • [backport to 3.6] bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations #95
  • [2.7] bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations #366
  • [backport to 2.7] bpo-28598: Support __rmod__ for RHS subclasses of str in % string formatting operations #382
  • [Do Not Merge] Sample of CPython life with blurb. #703
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • issue28598.patch: Proposed patch, v1
  • 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 = None
    closed_at = <Date 2017-03-01.06:29:40.530>
    created_at = <Date 2016-11-03.13:36:04.717>
    labels = ['interpreter-core', 'type-bug']
    title = 'RHS not consulted in `str % subclass_of_str` case.'
    updated_at = <Date 2017-03-31.16:36:38.525>
    user = 'https://github.com/mjpieters'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:38.525>
    actor = 'dstufft'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-03-01.06:29:40.530>
    closer = 'xiang.zhang'
    components = ['Interpreter Core']
    creation = <Date 2016-11-03.13:36:04.717>
    creator = 'mjpieters'
    dependencies = []
    files = ['45338']
    hgrepos = []
    issue_num = 28598
    keywords = ['patch']
    message_count = 9.0
    messages = ['279993', '280001', '287638', '288695', '288717', '290356', '290364', '290365', '290428']
    nosy_count = 4.0
    nosy_names = ['mjpieters', 'berker.peksag', 'serhiy.storchaka', 'xiang.zhang']
    pr_nums = ['51', '94', '95', '366', '382', '703', '552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28598'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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