From 9c6dab2cfd310ef2d840a2a7a479ce6b9e563b1d Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sun, 3 Jul 2022 17:39:59 +0300 Subject: Finalize the release. --- docs/markdown/snippets/python-extension-module-visibility.md | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 docs/markdown/snippets/python-extension-module-visibility.md (limited to 'docs/markdown/snippets/python-extension-module-visibility.md') diff --git a/docs/markdown/snippets/python-extension-module-visibility.md b/docs/markdown/snippets/python-extension-module-visibility.md deleted file mode 100644 index ed1fc4815..000000000 --- a/docs/markdown/snippets/python-extension-module-visibility.md +++ /dev/null @@ -1,12 +0,0 @@ -## Python extension modules now build with hidden visibility - -Python extension modules are usually expected to only export a single symbol, -decorated with the `PyMODINIT_FUNC` macro and providing the module entry point. -On versions of python >= 3.9, the python headers contain GNU symbol visibility -attributes to mark the init function with default visibility; it is then safe -to set the [[shared_module]] inherited kwarg `gnu_symbol_visibility: 'hidden'`. - -In the interest of doing the right thing out of the box, this is now the -default for extension modules for found installations that are new enough to -have this set, which is not expected to break anything, but remains possible to -set explicitly (in which case that will take precedence). -- cgit v1.2.3