[issue42002] Clean up initialization of the sys module

2020-10-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42002] Clean up initialization of the sys module

2020-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset fa1d83db62a545580d9a1a585b2c1fb55961a5c3 by Serhiy Storchaka in branch 'master': bpo-42002: Clean up initialization of the sys module. (GH-22642) https://github.com/python/cpython/commit/fa1d83db62a545580d9a1a585b2c1fb55961a5c3 --

[issue42002] Clean up initialization of the sys module

2020-10-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +21616 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22642 ___ Python tracker

[issue42002] Clean up initialization of the sys module

2020-10-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42002] Clean up initialization of the sys module

2020-10-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : _PySys_InitCore() and _PySys_InitMain() in Python/sysmodule.c contains many invocations of macros for setting attributes of the sys module. The proposed PR changes these macros. 1. SET_SYS_FROM_STRING was renamed to just SET_SYS. It is much shorter and