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

Fix PEP 597 UTF-8 Warnings #8117

Merged
merged 1 commit into from Nov 25, 2023
Merged

Fix PEP 597 UTF-8 Warnings #8117

merged 1 commit into from Nov 25, 2023

Commits on Nov 25, 2023

  1. Fix PEP597 EncodingWarnings

    PEP 685 makes UTF-8 the default mode for Python. Explicitly add
    encoding parameters to open calls.
    
    - Replace subprocess check_output with the more modern run
    command and set the default encoding of UTF-8
    - compat: remove exec_command_stdout function since no longer
    needed to maintain compatibility across platforms
    danyeaw committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    b9ecd8f View commit details
    Browse the repository at this point in the history