| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This fixes the issue. Thanks @kumaraditya303!
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM, thanks.
Sorry, something went wrong.
|
Unfortunately it seems the last change broke it again. /.../cpython/Include/internal/pycore_pystate.h:93:8: error: unknown type name '_Py_thread_local'
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
/.../cpython/Include/internal/pycore_pystate.h:93:38: error: expected ';' after top level declarator
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
^
;
It looks like _Py_thread_local only works for defined(HAVE_THREAD_LOCAL). So 34a2688 should probably be reverted. Lines 516 to 528 in f5394c2 |
Sorry, something went wrong.
|
No, this is all just HAVE_THREAD_LOCAL being messy. We should remove that all throughout the codebase and assume that thread locals are always available. mypyc will get some speedups from using the thread local directly. I'll put up a PR. |
Sorry, something went wrong.
|
Sounds good. Happy to test it, just let me know. |
Sorry, something went wrong.
…E_THREAD_LOCAL` is not defined (python#140623)
| Back | FazBrowse Home | New Git URL |
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.