Commit Graph

10 Commits

Author SHA1 Message Date
gatecat
3b45174375 pyconsole: Avoid lockup when reading from stdin
Create an empty temporary file for stdin; so reads fail rather than
locking up (otherwise doing help() would be enough to completely lock up
the GUI).

Signed-off-by: gatecat <gatecat@ds0.me>
2021-02-22 10:48:21 +00:00
Miodrag Milanovic
61b07bc9a6 PyEval_InitThreads only for older than 3.9 2021-01-02 10:22:51 +01:00
Miodrag Milanovic
e15b339d41 Do not create new python interpreter 2020-11-13 15:02:24 +01:00
David Shah
8f1683246e python: Improve general robustness during autocomplete
Signed-off-by: David Shah <dave@ds0.me>
2020-04-24 16:44:30 +01:00
David Shah
5024fc0690 python: Escape strings for autocomplete
Signed-off-by: David Shah <dave@ds0.me>
2020-04-24 16:41:13 +01:00
Miodrag Milanovic
e0b4a2eeab Add GUI for executing python file 2018-12-14 17:20:25 +01:00
Miodrag Milanovic
07ff5ad8b8 Made python console use edit line and better 2018-07-13 19:56:11 +02:00
Miodrag Milanovic
2fe13e7a07 make GUI compile on MSVC 2018-07-05 10:14:19 +02:00
Miodrag Milanovic
6e11c52dc9 make paste work, fix inserting in wrong lines 2018-06-28 20:38:25 +02:00
Miodrag Milanovic
1676b285ae adapted python-console for easier use 2018-06-28 17:57:26 +02:00