From cf5dbc4c9ea3895ddebe5242bfc9a1afbb374364 Mon Sep 17 00:00:00 2001 From: novaTopFlex <78602536+novaTopFlex@users.noreply.github.com> Date: Wed, 10 Apr 2024 16:26:42 -0400 Subject: [PATCH 1/2] Update prefs.py --- guake/prefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guake/prefs.py b/guake/prefs.py index 9452c64c7..395abe463 100644 --- a/guake/prefs.py +++ b/guake/prefs.py @@ -64,7 +64,7 @@ # A regular expression to match possible python interpreters when # filling interpreters combo in preferences (including bpython and ipython) -PYTHONS = re.compile(r"^[a-z]python$|^python\d\.\d$") +PYTHONS = re.compile(r"^[a-z]python$|^python\d\.\d$|^python\d\.\d\d$") # Path to the shells file, it will be used to start to populate # interpreters combo, see the next variable, its important to fill the From 9c6922ada2a2e37744b26cb174fc9492051e7fb4 Mon Sep 17 00:00:00 2001 From: novaTopFlex <78602536+novaTopFlex@users.noreply.github.com> Date: Thu, 18 Apr 2024 11:01:04 -0400 Subject: [PATCH 2/2] Include the "ipython3" command for IPython In certain types of Linux packaging, the command for the IPython interpreter may be named "ipython2" and/or "ipython3" rather than simply "ipython" to distinguish Python 2.x and 3.x interpreter versions. --- guake/prefs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guake/prefs.py b/guake/prefs.py index 395abe463..5fdd5b9ed 100644 --- a/guake/prefs.py +++ b/guake/prefs.py @@ -64,7 +64,7 @@ # A regular expression to match possible python interpreters when # filling interpreters combo in preferences (including bpython and ipython) -PYTHONS = re.compile(r"^[a-z]python$|^python\d\.\d$|^python\d\.\d\d$") +PYTHONS = re.compile(r"^[a-z]python$|^[a-z]python\d$|^python\d\.\d$|^python\d\.\d\d$") # Path to the shells file, it will be used to start to populate # interpreters combo, see the next variable, its important to fill the