-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
bpo-36085: Enable better DLL resolution on Windows #12302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
dd55a5f
bpo-36085: Enable better DLL resolution on Windows
zooba b01f83b
Improves error handling
zooba 51ade83
Improve ctypes error message and enables adjacent dependency loading
zooba e8b54a4
Remove invalid ctypes flag
zooba 98db2ef
Merge remote-tracking branch 'cpython/master' into bpo-36085
zooba 49b757b
Merge remote-tracking branch 'cpython/master' into bpo-36085
zooba ae48b59
Fix uninitialised variable
zooba 3f29c0a
Add NEWS and make nicer interface for add_dll_directory
zooba e022bb8
Add after_test step to collect more info
zooba 56fa1bd
Change to on_finish
zooba c50b0ea
Attempt a workaround for the test
zooba 4fd36e4
Try a broader workaround
zooba 88ef129
Handle errors in workaround
zooba 34614af
Test retrieving specific counter instead of all counters
zooba 8311618
Remove default DLL directory setting
zooba 8823f31
Add dll_load_flags to ctypes.CDLL for use on Windows
zooba 5882477
Remove unused import
zooba f867be2
Remove logging from AppVeyor definition
zooba f82fce4
Update what's new and ctypes docs
zooba 492ab38
Adds ctypes test for new parameter and add_dll_directory
zooba 01b9c76
Improve ctypes test
zooba 92e1983
Add bpo reference to What's New
zooba e654a09
Ensure test cleans up added DLL directory
zooba 4a1c712
Improve documentation
zooba 1af7230
Improve error handling
zooba 864c34e
Merge remote-tracking branch 'cpython/master' into bpo-36085
zooba 6ae0b6f
Fix calling convention for 32-bit builds
zooba 7cf3055
Adds import test
zooba 6b1d038
Ensure CRT DLLs are copied for test
zooba a9f7ae0
Remove trailing whitespace
zooba File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Windows/2019-03-18-11-44-49.bpo-36085.mLfxfc.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Enable better DLL resolution on Windows by using safe DLL search paths and | ||
| adding :func:`os.add_dll_directory`. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.