Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-127604: Replace dprintf() with _Py_write_noraise()#132854
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I wasn't aware of_Py_DumpHexadecimal
, this works a lot better than the mess ofdup
and file APIs in#132800. Thanks!
402dba2
intopython:mainUh oh!
There was an error while loading.Please reload this page.
This introduced a compiler warning: Python/traceback.c:883:1:warning: ‘dump_pointer’ definedbutnotused [-Wunused-function]883 |dump_pointer(intfd,void*ptr) | ^~~~~~~~~~~~ Maybe the function should also be behind an |
I wrote#132897 to fix the warning. On which machine/OS did you see the warning? |
Aha, now I can see the warning on the WASI build. The configure script says:
|
I saw it on Ubuntu 24.04 |
Ok, good to know. I suppose that you miss Anyway, the warning was fixed byc292f7f. Thanks for the report. |
Interesting, I do have the externintbacktrace (void**__array,int__size)__nonnull ((1));externchar**backtrace_symbols (void*const*__array,int__size)__THROW__nonnull ((1));externvoidbacktrace_symbols_fd (void*const*__array,int__size,int__fd)__THROW__nonnull ((1)); |
vstinner commentedApr 25, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Sorry, it's @ZeroIntensity: By the way, |
Yup, but I don't know of a system that provides |
Uh oh!
There was an error while loading.Please reload this page.
faulthandler
#127604