Skip to content

bpo-42923: Py_FatalError() avoids fprintf() #24242

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 1 commit into from
Jan 18, 2021
Merged

bpo-42923: Py_FatalError() avoids fprintf() #24242

merged 1 commit into from
Jan 18, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jan 18, 2021

  • Replace buffered fprintf() with unbuffered _Py_write_noraise()
    in Py_FatalError().
  • _Py_DumpHexadecimal() now accepts uintptr_t.

https://bugs.python.org/issue42923

* Replace buffered fprintf() with unbuffered _Py_write_noraise()
  in Py_FatalError().
* _Py_DumpHexadecimal() now accepts uintptr_t.
@vstinner vstinner merged commit 314b878 into python:master Jan 18, 2021
@vstinner vstinner deleted the fatal_error_write branch January 18, 2021 17:35
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
* Replace buffered fprintf() with unbuffered _Py_write_noraise()
  in Py_FatalError().
* _Py_DumpHexadecimal() now accepts uintptr_t.
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