[PATCH] lyxpreview_tools.py: fix a regular expression
Richard Kimberly Heck
rikiheck at lyx.org
Sun Feb 16 03:26:15 UTC 2020
On 2/15/20 10:07 PM, Scott Kostyshak wrote:
>> I'm curious, why is it necessary to support Python 2?
> I forget what the discussion is regarding why we chose those versions.
> From what I understand, requiring 2.7 (as opposed to some earlier 2.x)
> makes things easier. Probably we will not allow 2.7 after some time or
> whenever it would be a pain to maintain 2.7 compatibility for a
> particular issue.
It's only quite recently that we've managed to make all of our scripts
compatible with Python 3. Like, in the 2.3.x series? The reason why we
did not just switch to Python 3 had originally to do with two things, I
think. First, the Windows installer has used Python 2 for a while, and
we are reluctant to change that lest we break things. Second, there have
long been issues about detecting the right version of Python, especially
(again) on Windows.
More information about the lyx-devel