Frost Ming added the comment:
Per the review comments of @jiasli, I worked out a second PR to fix this issue.
This fix has less side-effect and better backward compatibility. I will leave
the two PRs open. Any feedback is welcome.
- Frost
Change by Frost Ming :
--
pull_requests: +28441
pull_request: https://github.com/python/cpython/pull/30219
___
Python tracker
<https://bugs.python.org/issue45
Frost Ming added the comment:
Hi, I noticed this bug because of the regression of Python 3.9.8. And I
proposed a better approach in PR 29574.
Maybe the folks here can have a look. Thanks
- Frost
--
___
Python tracker
<https://bugs.python.
Change by Frost Ming :
--
nosy: +Frost Ming
nosy_count: 10.0 -> 11.0
pull_requests: +27818
pull_request: https://github.com/python/cpython/pull/29574
___
Python tracker
<https://bugs.python.org/issu
Change by Frost Ming :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue41406>
___
___
Python-bugs-list mailing list
Unsubscrib
New submission from Frost Ming :
The following snippet behaves differently between Windows and POSIX.
import subprocess
import time
p = subprocess.Popen("ls -l", shell=True, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
print(p.stdout.read(1)) # read 1 byte
print(p.c