Skip to content
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

gh-111942: Fix SystemError in the TextIOWrapper constructor #112061

Merged
merged 3 commits into from
Nov 14, 2023

Commits on Nov 14, 2023

  1. pythongh-111942: Fix SystemError in the TextIOWrapper constructor

    In non-debug more the check for the "errors" argument is skipped,
    and then PyUnicode_AsUTF8() can fail, but its result was not checked.
    serhiy-storchaka committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    0a85bf3 View commit details
    Browse the repository at this point in the history
  2. Update Modules/_io/textio.c

    vstinner committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    f290520 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43b222c View commit details
    Browse the repository at this point in the history