diff options
| author | Fabián Ezequiel Gallina | 2014-11-22 20:09:30 -0300 |
|---|---|---|
| committer | Fabián Ezequiel Gallina | 2014-11-22 20:09:30 -0300 |
| commit | 238c052fdb9da3b1f96c09809461b70813c5bebc (patch) | |
| tree | 11fe1953832ceba6980ef0215383b36131d37ad9 /src | |
| parent | bd3625c432ee3d05ae4316d3b0ad2c0225e6d532 (diff) | |
| download | emacs-238c052fdb9da3b1f96c09809461b70813c5bebc.tar.gz emacs-238c052fdb9da3b1f96c09809461b70813c5bebc.zip | |
Set PYTHONUNBUFFERED on shell startup.
Fixes: debbugs:18595
* lisp/progmodes/python.el (python-shell-unbuffered): New var.
(python-shell-calculate-process-environment): Use it.
* test/automated/python-tests.el
(python-shell-calculate-process-environment-4)
(python-shell-calculate-process-environment-5): New tests.
(python-shell-make-comint-3): Use file-equal-p.
(python-shell-get-or-create-process-1)
(python-shell-get-or-create-process-2)
(python-shell-get-or-create-process-3): Fix interpreter for
Windows.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions