This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove support for obsolete flags in compile function
Type: Stage: patch review
Components: Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: BTaskaya
Priority: normal Keywords: patch

Created on 2020-04-22 19:44 by BTaskaya, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 19660 open BTaskaya, 2020-04-22 19:51
Messages (2)
msg367046 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-04-22 19:44
We can start deprecating usage of obsoleted flags in compile and slowly remove support for them. An example would be CO_NESTED. 

https://github.com/python/cpython/blob/master/Python/bltinmodule.c#L748
msg367062 - (view) Author: Batuhan Taskaya (BTaskaya) * (Python committer) Date: 2020-04-22 23:31
As suggestion of @vstinner, instead of deprecation we decided to remove support for these flags immediately.
History
Date User Action Args
2022-04-11 14:59:29adminsetgithub: 84546
2020-04-22 23:32:17BTaskayasettitle: Start giving deprecation warnings for obsoleted flags in compile -> Remove support for obsolete flags in compile function
2020-04-22 23:31:59BTaskayasetmessages: + msg367062
2020-04-22 19:51:37BTaskayasetkeywords: + patch
stage: patch review
pull_requests: + pull_request18986
2020-04-22 19:44:23BTaskayacreate