Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeit CLI docs still mention old power sequence #84599

Closed
sjvrijn mannequin opened this issue Apr 28, 2020 · 5 comments
Closed

timeit CLI docs still mention old power sequence #84599

sjvrijn mannequin opened this issue Apr 28, 2020 · 5 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@sjvrijn
Copy link
Mannequin

sjvrijn mannequin commented Apr 28, 2020

BPO 40419
Nosy @serhiy-storchaka, @miss-islington, @tirkarthi, @sjvrijn
PRs
  • bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 #19752
  • [3.8] bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752) #19863
  • [3.7] bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752) #19864
  • 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 2020-05-02.20:27:11.461>
    created_at = <Date 2020-04-28.10:52:30.571>
    labels = ['3.8', 'type-feature', '3.7', '3.9', 'docs']
    title = 'timeit CLI docs still mention old power sequence'
    updated_at = <Date 2020-05-02.20:27:11.460>
    user = 'https://github.com/sjvrijn'

    bugs.python.org fields:

    activity = <Date 2020-05-02.20:27:11.460>
    actor = 'serhiy.storchaka'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2020-05-02.20:27:11.461>
    closer = 'serhiy.storchaka'
    components = ['Documentation']
    creation = <Date 2020-04-28.10:52:30.571>
    creator = 'Energya'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40419
    keywords = ['patch']
    message_count = 4.0
    messages = ['367517', '367529', '367936', '367937', '367938']
    nosy_count = 6.0
    nosy_names = ['docs@python', 'python-dev', 'serhiy.storchaka', 'miss-islington', 'xtreak', 'Energya']
    pr_nums = ['19752', '19863', '19864']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue40419'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    @sjvrijn
    Copy link
    Mannequin Author

    sjvrijn mannequin commented Apr 28, 2020

    The docs for the timeit CLI (https://docs.python.org/3/library/timeit.html#cmdoption-timeit-h) still mention that successive powers of 10 are tried. However, as this also uses the timeit.Timer.autorange() function, it uses the new sequence 1, 2, 5, 10, 20, 50, ... instead.

    @sjvrijn sjvrijn mannequin added 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes labels Apr 28, 2020
    @sjvrijn sjvrijn mannequin assigned docspython Apr 28, 2020
    @sjvrijn sjvrijn mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement 3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes labels Apr 28, 2020
    @sjvrijn sjvrijn mannequin assigned docspython Apr 28, 2020
    @sjvrijn sjvrijn mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Apr 28, 2020
    @tirkarthi
    Copy link
    Member

    Thanks for the report. This was changed as part of bpo-28469 where autorange docstring was updated. I guess this was missed out.

    @serhiy-storchaka
    Copy link
    Member

    New changeset 7663523 by Sander in branch 'master':
    bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752)
    7663523

    @miss-islington
    Copy link
    Contributor

    New changeset 399b9a4 by Miss Islington (bot) in branch '3.8':
    bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752)
    399b9a4

    @miss-islington
    Copy link
    Contributor

    New changeset 4eec39a by Miss Islington (bot) in branch '3.7':
    bpo-40419: timeit CLI docs now mention 1,2,5,10,... trials instead of powers of 10 (GH-19752)
    4eec39a

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life 3.8 only security fixes 3.9 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants