Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9fc0e99

Browse files
committed
Issue #20266: Update parts of the Windows FAQ
1 parent 7f470d0 commit 9fc0e99

2 files changed

Lines changed: 10 additions & 6 deletions

File tree

Doc/faq/windows.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,18 +170,20 @@ offender.
170170
How do I make an executable from a Python script?
171171
-------------------------------------------------
172172

173-
See http://www.py2exe.org/ for a distutils extension that allows you
173+
See http://cx-freeze.sourceforge.net/ for a distutils extension that allows you
174174
to create console and GUI executables from Python code.
175+
`py2exe <http://www.py2exe.org/>`_, the most popular extension for building
176+
Python 2.x-based executables, does not yet support Python 3 but a version that
177+
does is in development.
178+
175179

176180
Is a ``*.pyd`` file the same as a DLL?
177181
--------------------------------------
178182

179-
.. XXX update for py3k (PyInit_foo)
180-
181183
Yes, .pyd files are dll's, but there are a few differences. If you have a DLL
182-
named ``foo.pyd``, then it must have a function ``initfoo()``. You can then
184+
named ``foo.pyd``, then it must have a function ``PyInit_foo()``. You can then
183185
write Python "import foo", and Python will search for foo.pyd (as well as
184-
foo.py, foo.pyc) and if it finds it, will attempt to call ``initfoo()`` to
186+
foo.py, foo.pyc) and if it finds it, will attempt to call ``PyInit_foo()`` to
185187
initialize it. You do not link your .exe with foo.lib, as that would cause
186188
Windows to require the DLL to be present.
187189

Misc/NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,9 @@ Tests
302302
Documentation
303303
-------------
304304

305-
- Issue #20255: Update the about and bugs pages.
305+
- Issue #20266: Updated some parts of the Windows FAQ.
306+
307+
- Issue #20255: Updated the about and bugs pages.
306308

307309
- Issue #20253: Fixed a typo in the ipaddress docs that advertised an
308310
illegal attribute name. Found by INADA Naoki.

0 commit comments

Comments
 (0)