KEMBAR78
bpo-45116: Py_DEBUG ignores Py_ALWAYS_INLINE by vstinner · Pull Request #28419 · python/cpython · GitHub
Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Sep 17, 2021

If the Py_DEBUG macro is defined, the Py_ALWAYS_INLINE macro does
nothing.

https://bugs.python.org/issue45116

If the Py_DEBUG macro is defined, the Py_ALWAYS_INLINE macro does
nothing.
@vstinner
Copy link
Member Author

Tests / Address sanitizer (pull_request) Failing after 50m — Address sanitizer

It failed with a timeout:

test_error_on_stdio_flush_1 (test.test_multiprocessing_fork.WithProcessesTestProcess) ... Timeout (0:20:00)!

@vstinner
Copy link
Member Author

Tests / Address sanitizer (pull_request) failed again :-(

test_get (test.test_multiprocessing_fork.WithProcessesTestQueue) ... Timeout (0:20:00)!
Thread 0x00007f732679bbc0 (most recent call first):
  File "/home/runner/work/cpython/cpython/Lib/multiprocessing/synchronize.py", line 261 in wait
  File "/home/runner/work/cpython/cpython/Lib/multiprocessing/synchronize.py", line 349 in wait
  File "/home/runner/work/cpython/cpython/Lib/test/_test_multiprocessing.py", line 1001 in test_get

@vstinner
Copy link
Member Author

test_get (test.test_multiprocessing_fork.WithProcessesTestQueue) ... Timeout (0:20:00)!

This issue is tracked by: https://bugs.python.org/issue45200

@vstinner vstinner merged commit e4044e9 into python:main Sep 17, 2021
@vstinner vstinner deleted the always_inline_debug branch September 17, 2021 20:46
niyas-sait pushed a commit to niyas-sait/cpython that referenced this pull request Sep 21, 2021
If the Py_DEBUG macro is defined, the Py_ALWAYS_INLINE macro does
nothing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants