Skip to content

Replace and empty strings #72216

@StphaneHenriot

Description

@StphaneHenriot
BPO 28029
Nosy @birkenfeld, @rhettinger, @vstinner, @ericvw, @bitdancer, @vadmium, @serhiy-storchaka
PRs
  • bpo-28029: Make "".replace("", s, n) returning s for any n != 0. #16981
  • Files
  • issue28029.diff
  • 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 2019-10-30.10:06:16.291>
    created_at = <Date 2016-09-08.20:30:41.603>
    labels = ['interpreter-core', 'type-bug', '3.9']
    title = 'Replace and empty strings'
    updated_at = <Date 2020-04-02.05:39:20.912>
    user = 'https://bugs.python.org/StphaneHenriot'

    bugs.python.org fields:

    activity = <Date 2020-04-02.05:39:20.912>
    actor = 'v+python'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-10-30.10:06:16.291>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2016-09-08.20:30:41.603>
    creator = 'St\xc3\xa9phane Henriot'
    dependencies = []
    files = ['44477']
    hgrepos = []
    issue_num = 28029
    keywords = ['patch']
    message_count = 21.0
    messages = ['275140', '275147', '275149', '275152', '275159', '275162', '275168', '275183', '275225', '279414', '355556', '355558', '355562', '355566', '355627', '355628', '355703', '355704', '355707', '365570', '365571']
    nosy_count = 10.0
    nosy_names = ['georg.brandl', 'rhettinger', 'vstinner', 'ericvw', 'v+python', 'r.david.murray', 'SilentGhost', 'martin.panter', 'serhiy.storchaka', 'St\xc3\xa9phane Henriot']
    pr_nums = ['16981']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28029'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (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