PR #4404 <https://github.com/leo-editor/leo-editor/pull/4403> (in progress) 
makes all changes needed to support Python 3.14, due in October.

This PR includes changes to leoAst.py needed to support Python's new template 
strings <https://peps.python.org/pep-0750/>. 

Maintaining leoAst.py has always been difficult and thankless. Leo does not 
use this module, and neither have I. Yes, the concept is kinda nifty, but 
the code has little real-world value. For most purposes, asttokens 
<https://pypi.org/project/asttokens/> is a better choice.

*Summary*

It's time to say "enough". The PR supports leoAst.py so that it works with 
Python 3.14. There is no reason to support leoAst.py so that it works with 
Python 3.15 or beyond.

The PR announces (in the code and docs) that support for leoAst.py will not 
extend past Python 3.14.

The code in leoAst.py has always been a curiosity. There is no reason to 
burden Leo's devs with it. Don't ask me to reconsider this decision unless 
*you* are prepared to support this code for the next five years.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/leo-editor/669a3f14-11b9-4c34-83ad-bda198ea6ffbn%40googlegroups.com.

Reply via email to