Skip to content

time.clock() should emit a DeprecationWarning #75984

Description

@vstinner
BPO 31803
Nosy @malemburg, @freddrake, @abalkin, @vstinner, @benjaminp, @benhoyt, @ethanfurman, @serhiy-storchaka
PRs
  • bpo-31803: Remove time.clock() #4018
  • bpo-31803: time.clock() now emits a DeprecationWarning #4020
  • bpo-31803: time.clock becomes an alias to time.perf_counter #4062
  • 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-12-19.00:46:51.284>
    created_at = <Date 2017-10-17.13:00:45.598>
    labels = ['3.7', 'library']
    title = 'time.clock() should emit a DeprecationWarning'
    updated_at = <Date 2017-12-19.00:46:51.282>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-12-19.00:46:51.282>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-19.00:46:51.284>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2017-10-17.13:00:45.598>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31803
    keywords = ['patch']
    message_count = 35.0
    messages = ['304502', '304503', '304504', '304505', '304506', '304507', '304508', '304513', '304516', '304536', '304537', '304555', '304556', '304561', '304565', '304567', '304569', '304572', '304664', '304668', '304671', '304746', '304747', '304748', '304749', '304885', '304941', '304948', '304997', '304999', '305004', '305040', '305046', '305088', '308598']
    nosy_count = 9.0
    nosy_names = ['lemburg', 'fdrake', 'belopolsky', 'vstinner', 'benjamin.peterson', 'mrabarnett', 'benhoyt', 'ethan.furman', 'serhiy.storchaka']
    pr_nums = ['4018', '4020', '4062']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31803'
    versions = ['Python 3.7']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions