Skip to content

fix for timeit when the statement is a string and the setup is not (and tests) #49883

@tdriscol

Description

@tdriscol
mannequin
BPO 5633
Nosy @birkenfeld, @rhettinger, @bitdancer, @serhiy-storchaka
Files
  • timeit_issue_5633.patch: Adds unit tests and an alternative fix for this bug
  • timeit_callable_setup.patch
  • timeit_callable_setup_refactor.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 2015-05-30.16:55:14.404>
    created_at = <Date 2009-03-31.21:01:37.998>
    labels = ['type-bug', 'library']
    title = 'fix for timeit when the statement is a string and the setup is not (and tests)'
    updated_at = <Date 2015-05-30.16:55:14.403>
    user = 'https://bugs.python.org/tdriscol'

    bugs.python.org fields:

    activity = <Date 2015-05-30.16:55:14.403>
    actor = 'serhiy.storchaka'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2015-05-30.16:55:14.404>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2009-03-31.21:01:37.998>
    creator = 'tdriscol'
    dependencies = []
    files = ['21253', '39358', '39360']
    hgrepos = []
    issue_num = 5633
    keywords = ['patch']
    message_count = 7.0
    messages = ['84902', '84910', '84933', '131184', '243086', '243094', '244471']
    nosy_count = 7.0
    nosy_names = ['georg.brandl', 'rhettinger', 'r.david.murray', 'tdriscol', 'python-dev', 'michael.henry', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue5633'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions