← 输入框|github.com|刷新
Skip to content

Remove sys.setcheckinterval() #81573

Closed
Closed

Description

@vstinner
BPO 37392
Nosy @vstinner
PRs
  • bpo-37392: Remove sys.setcheckinterval() #14355
  • bpo-37392: Remove getcheckinterval and setcheckinterval from doc output #14365
  • 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-06-25.01:01:38.444>
    created_at = <Date 2019-06-24.23:43:47.377>
    labels = ['interpreter-core', '3.9']
    title = 'Remove sys.setcheckinterval()'
    updated_at = <Date 2019-06-25.12:17:01.431>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2019-06-25.12:17:01.431>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-25.01:01:38.444>
    closer = 'vstinner'
    components = ['Interpreter Core']
    creation = <Date 2019-06-24.23:43:47.377>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37392
    keywords = ['patch']
    message_count = 6.0
    messages = ['346454', '346459', '346460', '346464', '346465', '346516']
    nosy_count = 1.0
    nosy_names = ['vstinner']
    pr_nums = ['14355', '14365']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue37392'
    versions = ['Python 3.9']

    Activity

    1. vstinner commented on Jun 24, 2019

      @vstinner
      MemberAuthor

      sys.getcheckinterval() and sys.setcheckinterval() are deprecated since Python 3.2, it's now time to remove them!

    2. added
      3.9 (EOL)
      interpreter-core
      on Jun 24, 2019
    3. vstinner commented on Jun 24, 2019

      @vstinner
      MemberAuthor

      Attached PR 14355 removes these functions.

    4. vstinner commented on Jun 25, 2019

      @vstinner
      MemberAuthor

      These functions were deprecated by this change:

      commit 074e5ed
      Author: Antoine Pitrou <solipsis@pitrou.net>
      Date: Tue Nov 10 19:50:40 2009 +0000

      Merge in the new GIL.
      
    5. vstinner commented on Jun 25, 2019

      @vstinner
      MemberAuthor

      New changeset 36456df by Victor Stinner in branch 'master':
      bpo-37392: Remove sys.setcheckinterval() (GH-14355)
      36456df

    6. vstinner commented on Jun 25, 2019

      @vstinner
      MemberAuthor

      I prefer to remove deprecated functions early in the 3.9 dev cycle, so we have more time for feedback. If something goes wrong, we can discuss reverting this removal before 3.9.0 final release.

    7. vstinner commented on Jun 25, 2019

      @vstinner
      MemberAuthor

      New changeset 080b6b4 by Victor Stinner (Xtreak) in branch 'master':
      bpo-37392: Update the dir(sys) in module tutorial (GH-14365)
      080b6b4

    8. transferred this issue fromon Apr 10, 2022
    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.9 (EOL)interpreter-core

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions