Commit 6d6b986d authored by Steve Dower's avatar Steve Dower

Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.

parents 11b39181 d669b6bd
......@@ -61,6 +61,12 @@ convention::
Windows appends the usual ``.dll`` file suffix automatically.
.. note::
Accessing the standard C library through ``cdll.msvcrt`` will use an
outdated version of the library that may be incompatible with the one
being used by Python. Where possible, use native Python functionality,
or else import and use the ``msvcrt`` module.
On Linux, it is required to specify the filename *including* the extension to
load a library, so attribute access can not be used to load libraries. Either the
:meth:`LoadLibrary` method of the dll loaders should be used, or you should load
......
......@@ -772,6 +772,8 @@ IDLE
Documentation
-------------
- Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.
- Issue #24952: Clarify the default size argument of stack_size() in
the "threading" and "_thread" modules. Patch from Mattip.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment