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.

Author vstinner
Recipients petr.viktorin, shihai1991, vstinner
Date 2020-12-08.14:46:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> When was the visibility changed to hidden?

In Python 3.9:

commit 0b60f64e4343913b4931dc27379d9808e5b78fe1
Author: Vinay Sajip <>
Date:   Tue Oct 15 08:26:12 2019 +0100

    bpo-11410: Standardize and use symbol visibility attributes across POSIX and Windows. (GH-16347)

Symbols which are not declared with PyAPI_FUNC() are no longer exported when using GCC or clang (any compiler supporting -fvisibility=hidden).

PyModule_GetWarningsModule() was not documented nor exported.

I merged the PR. If it breaks too many packages, we can consider to revert the change. But I expect that there are zero project using it.

Note: PyModule_GetWarningsModule() was not part of PC/python3dll.c neither, hopefully ;-)
Date User Action Args
2020-12-08 14:46:53vstinnersetrecipients: + vstinner, petr.viktorin, shihai1991
2020-12-08 14:46:53vstinnersetmessageid: <>
2020-12-08 14:46:53vstinnerlinkissue42599 messages
2020-12-08 14:46:52vstinnercreate