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

Revise tools scripts to be python3 compatible #4856

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Dec 7, 2021

  1. Revise tools scripts to be python3 compatible

    We introduce setup_stdio function to setup stdout/stderr properly.
    For python <-> python pipe, we always use 'utf8'/'ignore' encoding for not lost
    characters.
    For tty <-> python, we using native encoding with xmlcharrefreplace to encode, to
    preserve maximal information.
    For python <-> native program, we use naive encoding with 'ignore' to not cause error
    
    Fixes jerryscript-project#4854
    
    JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
    lygstate committed Dec 7, 2021
    Configuration menu
    Copy the full SHA
    e401d3d View commit details
    Browse the repository at this point in the history