Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d669b6bd
Commit
d669b6bd
authored
Mar 12, 2016
by
Steve Dower
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23606: Adds note to ctypes documentation regarding cdll.msvcrt.
parent
126c9c17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
Doc/library/ctypes.rst
Doc/library/ctypes.rst
+6
-0
Misc/NEWS
Misc/NEWS
+2
-0
No files found.
Doc/library/ctypes.rst
View file @
d669b6bd
...
@@ -61,6 +61,12 @@ convention::
...
@@ -61,6 +61,12 @@ convention::
Windows appends the usual ``.dll`` file suffix automatically.
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
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
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
:meth:`LoadLibrary` method of the dll loaders should be used, or you should load
...
...
Misc/NEWS
View file @
d669b6bd
...
@@ -284,6 +284,8 @@ Library
...
@@ -284,6 +284,8 @@ Library
Documentation
Documentation
-------------
-------------
-
Issue
#
23606
:
Adds
note
to
ctypes
documentation
regarding
cdll
.
msvcrt
.
-
Issue
#
25500
:
Fix
documentation
to
not
claim
that
__import__
is
searched
for
-
Issue
#
25500
:
Fix
documentation
to
not
claim
that
__import__
is
searched
for
in
the
global
scope
.
in
the
global
scope
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment