On Saturday, August 2, 2025 at 6:20:07 AM UTC-5 Edward K. Ream wrote:

> PR #4404 <https://github.com/leo-editor/leo-editor/pull/4403> (in 
progress)...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.

Here are some more notes:

- The release notes for Leo 6.8.7 will announce that leoAst.py is 
deprecated. If nobody uses leoAst.py, that may be the only change ever 
needed!

- The What's new with Python 3.15 page 
<https://docs.python.org/3.15/whatsnew/3.15.html> does not (for the moment) 
list any changes that affect Python's ast module. So leoAst.py might 
continue to work through Python 3.15. There is no similar page for Python 
3.16, so that's all I can say now.

- I plan to leave Leo's unit tests as they are. The first sign that 
leoAst.py needs work will likely be the failure of the test 
TestTokens.test_visitors_exist. Future maintainers can then decide whether 
to retire leoAst.py.

*Summary*

My plan is to make minimal changes and wait and see what to do next.

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/7611f23c-2656-467f-aa92-4b2dd30b0db1n%40googlegroups.com.

Reply via email to