bpo-37392: Remove sys.setcheckinterval()#14355
Merged
vstinner merged 1 commit intopython:masterfrom Jun 25, 2019
vstinner:remove_checkinterval
Merged
bpo-37392: Remove sys.setcheckinterval()#14355vstinner merged 1 commit intopython:masterfrom vstinner:remove_checkinterval
vstinner merged 1 commit intopython:masterfrom
vstinner:remove_checkinterval
Conversation
Remove sys.getcheckinterval() and sys.setcheckinterval() functions. They were deprecated since Python 3.2. Use sys.getswitchinterval() and sys.setswitchinterval() instead. Remove also check_interval field of the PyInterpreterState structure.
Member
Author
|
macOS failed in Azure Pipelines, it's a known and unrelated issue: https://bugs.python.org/issue37245 |
serhiy-storchaka
approved these changes
Jun 25, 2019
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. |
Member
Author
|
Thanks for the review @serhiy-storchaka ;-) |
lisroach
pushed a commit
to lisroach/cpython
that referenced
this pull request
Sep 10, 2019
Remove sys.getcheckinterval() and sys.setcheckinterval() functions. They were deprecated since Python 3.2. Use sys.getswitchinterval() and sys.setswitchinterval() instead. Remove also check_interval field of the PyInterpreterState structure.
DinoV
pushed a commit
to DinoV/cpython
that referenced
this pull request
Jan 14, 2020
Remove sys.getcheckinterval() and sys.setcheckinterval() functions. They were deprecated since Python 3.2. Use sys.getswitchinterval() and sys.setswitchinterval() instead. Remove also check_interval field of the PyInterpreterState structure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove sys.getcheckinterval() and sys.setcheckinterval() functions.
They were deprecated since Python 3.2. Use sys.getswitchinterval()
and sys.setswitchinterval() instead.
Remove also check_interval field of the PyInterpreterState structure.
https://bugs.python.org/issue37392