diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index f4ff03e2405..86970b8a0c7 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -94,6 +94,14 @@ | |||
| 94 | ;; python-shell-interpreter-args | 94 | ;; python-shell-interpreter-args |
| 95 | ;; "-i C:\\Python27\\Scripts\\ipython-script.py") | 95 | ;; "-i C:\\Python27\\Scripts\\ipython-script.py") |
| 96 | 96 | ||
| 97 | ;; If you are experiencing missing or delayed output in your shells, | ||
| 98 | ;; that's likely caused by your Operating System's pipe buffering | ||
| 99 | ;; (e.g. this is known to happen running CPython 3.3.4 in Windows 7. | ||
| 100 | ;; See URL `http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17304'). To | ||
| 101 | ;; fix this, using CPython's "-u" commandline argument or setting the | ||
| 102 | ;; "PYTHONUNBUFFERED" environment variable should help: See URL | ||
| 103 | ;; `https://docs.python.org/3/using/cmdline.html#cmdoption-u'. | ||
| 104 | |||
| 97 | ;; The interaction relies upon having prompts for input (e.g. ">>> " | 105 | ;; The interaction relies upon having prompts for input (e.g. ">>> " |
| 98 | ;; and "... " in standard Python shell) and output (e.g. "Out[1]: " in | 106 | ;; and "... " in standard Python shell) and output (e.g. "Out[1]: " in |
| 99 | ;; IPython) detected properly. Failing that Emacs may hang but, in | 107 | ;; IPython) detected properly. Failing that Emacs may hang but, in |