PR
#2985 improves Leo's resilience to Python's
black formatter. This PR contains significant changes to Leo's code that reads external files!
As discussed in the corresponding issue
#2983, Leo has no real choice but to deal with black-formatted comments.
I don't expect problems:
- Various related unit tests have been strengthened.
- Imo, the new read code is significantly more robust than the old.
- The code passes "by hand" round-trip tests.
- I have been eating my own dog food for several days.
Nevertheless, any change to Leo's read code must be tested at length. Please test devel and report any problems immediately.
I'll delay the next release until at least early 2023 to ensure that this code is rock solid.
Edward