aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/python-extension-module-visibility.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2022-07-03 17:39:59 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2022-07-03 17:39:59 +0300
commit9c6dab2cfd310ef2d840a2a7a479ce6b9e563b1d (patch)
tree983bed70068da2fb12c7d5ecafb0bb31e2e99720 /docs/markdown/snippets/python-extension-module-visibility.md
parent51dad83d465363b9de18885d0047897f8a211e53 (diff)
downloadmeson-9c6dab2cfd310ef2d840a2a7a479ce6b9e563b1d.zip
meson-9c6dab2cfd310ef2d840a2a7a479ce6b9e563b1d.tar.gz
meson-9c6dab2cfd310ef2d840a2a7a479ce6b9e563b1d.tar.bz2
Finalize the release.0.63.0
Diffstat (limited to 'docs/markdown/snippets/python-extension-module-visibility.md')
-rw-r--r--docs/markdown/snippets/python-extension-module-visibility.md12
1 files changed, 0 insertions, 12 deletions
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 ed1fc48..0000000
--- 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).