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

Remove sys.setcheckinterval() #81573

Closed
vstinner opened this issue Jun 24, 2019 · 6 comments
Closed

Remove sys.setcheckinterval() #81573

vstinner opened this issue Jun 24, 2019 · 6 comments
Labels
3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)

Comments

@vstinner
Copy link
Member

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']

    @vstinner
    Copy link
    Member Author

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

    @vstinner vstinner added 3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Jun 24, 2019
    @vstinner
    Copy link
    Member Author

    Attached PR 14355 removes these functions.

    @vstinner
    Copy link
    Member Author

    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.
    

    @vstinner
    Copy link
    Member Author

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

    @vstinner
    Copy link
    Member Author

    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.

    @vstinner
    Copy link
    Member Author

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

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.9 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs)
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant