[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0f642620a8a85ef0b5482f253205baf1865e05b2 by Victor Stinner in branch '2.7': bpo-33692: Update pythoninfo from master (GH-7304) https://github.com/python/cpython/commit/0f642620a8a85ef0b5482f253205baf1865e05b2 -- __

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset b9afe645c4926b1f086f30ba9bd00671b0b8b55e by Victor Stinner in branch '3.6': bpo-33692: Update pythoninfo from master (GH-7301) https://github.com/python/cpython/commit/b9afe645c4926b1f086f30ba9bd00671b0b8b55e -- __

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 466aae545786d2db5ac27f243c5d77aeb7a5958e by Victor Stinner in branch '3.7': bpo-33692: Update pythoninfo from master (GH-7298) https://github.com/python/cpython/commit/466aae545786d2db5ac27f243c5d77aeb7a5958e -- __

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6935 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6931 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6927 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset ef634b5b26f14d942768069fa23f9791a06ff37e by Victor Stinner in branch 'master': bpo-33692: pythoninfo detect libedit on Python 3.6 (GH-7293) https://github.com/python/cpython/commit/ef634b5b26f14d942768069fa23f9791a06ff37e -- _

[issue33692] Chinese characters issue with input() function

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: > Hey there! I saw your pull requests to python3.6 and have been merged, so > what should we do now? Just update the python to higher a version? Oh. My changes are just to add debug traces in the "python3 -m test.pythoninfo" command which is used on buildbot

[issue33692] Chinese characters issue with input() function

2018-05-31 Thread Valentin Zhao
Valentin Zhao added the comment: Hey there! I saw your pull requests to python3.6 and have been merged, so what should we do now? Just update the python to higher a version? -- ___ Python tracker __

[issue33692] Chinese characters issue with input() function

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6920 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function

2018-05-31 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6920, 6921 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Valentin Zhao
Valentin Zhao added the comment: Hello everyone, do we have a walkaround for this issue now? I barely read your discussion. -- ___ Python tracker ___

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9994eff17f943fb2c190708b12c96fef9838a425 by Victor Stinner in branch '2.7': bpo-33692: pythoninfo detect libedit on Python 2.7 (#7246) https://github.com/python/cpython/commit/9994eff17f943fb2c190708b12c96fef9838a425 -- __

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6872 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: New changeset f7a19c28bda7b0ed3a440db80202013a86af6850 by Victor Stinner in branch '3.6': bpo-33692: pythoninfo detect libedit on Python 3.6 (GH-7244) https://github.com/python/cpython/commit/f7a19c28bda7b0ed3a440db80202013a86af6850 --

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Ned Deily
Change by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Ned Deily
Ned Deily added the comment: So it's not a macOS-specific issue: editing the title et al accordingly -- nosy: -ronaldoussoren title: Chinese characters issue with input() function under Mac OSX -> Chinese characters issue with input() function ___

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +6871 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Xiang Zhang
Xiang Zhang added the comment: Yes, it's on MacOS. libedit and GNU deadline both have the behavior. I can see the same behavior on Ubuntu, LANG=en_US.UTF-8. -- ___ Python tracker __

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Ned Deily
Ned Deily added the comment: Xiang Zhang, was that on macOS? If so, can someone try on one or more Linux systems with a Chinese locale? I see the same behavior on Linux but I'm not sure that I'm testing it properly. -- ___ Python tracker

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Ned Deily
Ned Deily added the comment: FTR: > On macOS, readline is provided by libedit. It *may* be provided by libedit. GNU readline is also commonly used on macOS, although it is not provided by Apple. The easiest way to tell which is in use is to examine the __doc__ attribute of the readline modu

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Xiang Zhang
Xiang Zhang added the comment: I could reproduce the behavior that console output doesn't match what Python gets. I agree with Victor this may not be a Python problem. I could also reproduce the behavior with Ruby reading Chinese characters from console. -- nosy: +xiang.zhang __

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread STINNER Victor
STINNER Victor added the comment: input() uses readline. On macOS, readline is provided by libedit. It may be a bug in libedit which is an external dependency, and so not maintained by Python. -- components: +macOS -2to3 (2.x to 3.x conversion tool) nosy: +ned.deily, ronaldoussoren, v

[issue33692] Chinese characters issue with input() function under Mac OSX

2018-05-30 Thread Valentin Zhao
Change by Valentin Zhao : -- title: Chinese characters issue with input() function -> Chinese characters issue with input() function under Mac OSX ___ Python tracker ___ _

[issue33692] Chinese characters issue with input() function

2018-05-30 Thread Valentin Zhao
New submission from Valentin Zhao : DIRECTLY run(i.e., python xxx/xxx/input_test.py) the file below and input other Chinese characters, then press backspace to delete them. You will find that you cannot delete them all, and even the cursor in the terminal misplaces and overlaps with the chara