[issue40366] Start giving deprecation warnings for obsoleted flags in compile

2020-04-22 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: As suggestion of @vstinner, instead of deprecation we decided to remove support for these flags immediately. -- ___ Python tracker ___

[issue40366] Start giving deprecation warnings for obsoleted flags in compile

2020-04-22 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18986 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19660 ___ Python tracker ___

[issue40366] Start giving deprecation warnings for obsoleted flags in compile

2020-04-22 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : 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 -- messages: 367046 nosy: BTaskaya priority: n