You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove support for obsolete flags in compile function #84546
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=Noneclosed_at=Nonecreated_at=<Date2020-04-22.19:44:23.008>labels= ['3.9']
title='Remove support for obsolete flags in compile function'updated_at=<Date2020-04-22.23:32:17.758>user='https://github.com/isidentical'
changed the title [-]Start giving deprecation warnings for obsoleted flags in compile[/-][+]Remove support for obsolete flags in compile function[/+]on Apr 22, 2020
changed the title [-]Start giving deprecation warnings for obsoleted flags in compile[/-][+]Remove support for obsolete flags in compile function[/+]on Apr 22, 2020
Activity
isidentical commentedon Apr 22, 2020
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
isidentical commentedon Apr 22, 2020
As suggestion of @vstinner, instead of deprecation we decided to remove support for these flags immediately.
[-]Start giving deprecation warnings for obsoleted flags in compile[/-][+]Remove support for obsolete flags in compile function[/+][-]Start giving deprecation warnings for obsoleted flags in compile[/-][+]Remove support for obsolete flags in compile function[/+]vstinner commentedon Sep 1, 2025
I close the issue: #19660 (comment)