itertools.repeat does not accept None as an explicit count

BPO 34169
Nosy @rhettinger, @terryjreedy, @corona10
PRs
  • bpo-34169: Fix itertools.repeat to get the default when times is None. #8355
  • 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/rhettinger'
    closed_at = <Date 2018-07-21.03:04:04.165>
    created_at = <Date 2018-07-20.14:11:03.314>
    labels = ['3.8', 'type-feature', 'library', 'invalid']
    title = 'itertools.repeat does not accept None as an explicit count'
    updated_at = <Date 2018-07-21.14:10:32.610>
    user = 'https://bugs.python.org/chepner'

    bugs.python.org fields:

    activity = <Date 2018-07-21.14:10:32.610>
    actor = 'chepner'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2018-07-21.03:04:04.165>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2018-07-20.14:11:03.314>
    creator = 'chepner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34169
    keywords = ['patch']
    message_count = 7.0
    messages = ['322010', '322029', '322042', '322054', '322068', '322071', '322099']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'terry.reedy', 'chepner', 'corona10']
    pr_nums = ['8355']
    priority = 'normal'
    resolution = 'not a bug'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34169'
    versions = ['Python 3.8']