summaryrefslogtreecommitdiffstats
path: root/Doc/extending
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-28 09:40:18 (GMT)
committerGeorg Brandl <georg@python.org>2008-08-28 09:40:18 (GMT)
commita27e89bd04d8423dde480a9832400401b38bfc68 (patch)
tree33465c924ce3c99f14cf15d171630db7a2d06564 /Doc/extending
parent488a4f0118af8a71c678209a6f25ddb9e958e9dd (diff)
downloadcpython-a27e89bd04d8423dde480a9832400401b38bfc68.zip
cpython-a27e89bd04d8423dde480a9832400401b38bfc68.tar.gz
cpython-a27e89bd04d8423dde480a9832400401b38bfc68.tar.bz2
#3711: .dll isn't a valid Python extension anymore.
Diffstat (limited to 'Doc/extending')
-rw-r--r--Doc/extending/windows.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/Doc/extending/windows.rst b/Doc/extending/windows.rst
index 1811277..1675a0d 100644
--- a/Doc/extending/windows.rst
+++ b/Doc/extending/windows.rst
@@ -102,10 +102,14 @@ described here are distributed with the Python sources in the
and it should call :cfunc:`Py_InitModule` with the string ``"spam"`` as its
first argument (use the minimal :file:`example.c` in this directory as a guide).
By convention, it lives in a file called :file:`spam.c` or :file:`spammodule.c`.
- The output file should be called :file:`spam.dll` or :file:`spam.pyd` (the
- latter is supported to avoid confusion with a system library :file:`spam.dll` to
- which your module could be a Python interface) in Release mode, or
- :file:`spam_d.dll` or :file:`spam_d.pyd` in Debug mode.
+ The output file should be called :file:`spam.pyd` (in Release mode) or
+ :file:`spam_d.pyd` (in Debug mode). The extension :file:`.pyd` was chosen
+ to avoid confusion with a system library :file:`spam.dll` to which your module
+ could be a Python interface.
+
+ .. versionchanged:: 2.5
+ Previously, file names like :file:`spam.dll` (in release mode) or
+ :file:`spam_d.dll` (in debug mode) were also recognized.
Now your options are: