Skip to content

bpo-37392: Remove sys.setcheckinterval()#14355

Merged
vstinner merged 1 commit intopython:masterfrom
vstinner:remove_checkinterval
Jun 25, 2019
Merged

bpo-37392: Remove sys.setcheckinterval()#14355
vstinner merged 1 commit intopython:masterfrom
vstinner:remove_checkinterval

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 24, 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.

https://bugs.python.org/issue37392

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.
@vstinner
Copy link
Member Author

macOS failed in Azure Pipelines, it's a known and unrelated issue: https://bugs.python.org/issue37245

@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 vstinner merged commit 36456df into python:master Jun 25, 2019
@vstinner vstinner deleted the remove_checkinterval branch June 25, 2019 01:01
@vstinner
Copy link
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants