Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
e5c31feb
Commit
e5c31feb
authored
Dec 07, 2021
by
Jason Madden
Committed by
GitHub
Dec 07, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1842 from gevent/issue1814
Updated 1814
parents
ecf874c3
43da323e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
docs/changes/1814.bugfix
docs/changes/1814.bugfix
+1
-0
src/gevent/libuv/_corecffi_build.py
src/gevent/libuv/_corecffi_build.py
+9
-0
No files found.
docs/changes/1814.bugfix
0 → 100644
View file @
e5c31feb
Try to avoid linking to two different Python runtime DLLs on Windows.
src/gevent/libuv/_corecffi_build.py
View file @
e5c31feb
...
...
@@ -276,6 +276,15 @@ elif sys.platform.startswith('aix'): # pragma: no cover
if
os
.
uname
().
sysname
!=
'OS400'
:
_add_library
(
'perfstat'
)
elif
WIN
:
# All other gevent .pyd files link to the specific minor-version Python
# DLL, so we should do the same here. In virtual environments that don't
# contain the major-version python?.dll stub, _corecffi.pyd would otherwise
# cause the Windows DLL loader to search the entire PATH for a DLL with
# that name. This might end up bringing a second, ABI-incompatible Python
# version into the process, which can easily lead to crashes.
# See https://github.com/gevent/gevent/pull/1814/files
_define_macro
(
'_CFFI_NO_LIMITED_API'
,
1
)
_define_macro
(
'_GNU_SOURCE'
,
1
)
_define_macro
(
'WIN32'
,
1
)
_define_macro
(
'_CRT_SECURE_NO_DEPRECATE'
,
1
)
...
...
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