Now that Leo is Python 3.6+ only, there is a question about using it to maintain old Python 2.x code, of which I have some that can't be converted to Python 3.6+. The issue, of course, is that checkers like flake8 will report errors which aren't actual errors for 2.7 code. This is a best a nuisance and at worst might lead to failure to save files.What's the best way to handle these older Python files in Leo?
The project is a Tomcat web application that uses mixed java and Jython.
Probably being able to disable automatic syntax checking in an outline would be enough. Is there a setting to do that?
That setting is not among the settings listed in the output of Settings/Show Settings/Show-Settings.
On Monday, January 17, 2022 at 12:57:12 PM UTC-5 David Szent-Györgyi wrote:Yes, and have you noticed the huge amount of work those plans will entail? I don't see it getting competed in the near future, I'm sorry to say.Like you, I thought those plans call for a lot of work, and completion might be some time off. Part of that might be the ever-growing complexity of Python3, which is accruing features that cannot be implemented simply, thereby complicating maintenance of minority implementations such as Jython and IronPython.
I greatly admire the tasteful engineering that I see in the choices that Guido van Rossum made in earlier releases. For example, an operating system that supports multi-tasking well relieves the need for multi-threading.
For more straightforward scripting engine uses, there's always Lua, though the fork of Lua done to implement a JIT trails the main implementation. There is an interesting offshoot of the language that is aimed at systems programming.
For more straightforward scripting engine uses, there's always Lua, though the fork of Lua done to implement a JIT trails the main implementation. There is an interesting offshoot of the language that is aimed at systems programming.
Ah, Lua! I think I last tried it back before I had even encountered Python, but back then I didn't really have a need for it. Maybe I should revisit it. I would want at least some equivalent for numpy and a gui system like Qt. I gather that wxWindows is a possibility among others.