On Monday, May 8, 2023 at 8:16:08 AM UTC-5 Edward K. Ream wrote: Yesterday I discovered a dead simple *design* pattern for finding *code* patterns in python parse trees.
The *AnnotationsTraverser.**test_annotation* method revealed several surprising annotations. PR #3319 <https://github.com/leo-editor/leo-editor/pull/3319> fixes some of them. test_annotation ignores (with comments) several special cases. Surprisingly, these changes are likely to be the only result of the Aha. Once the technical problem disappeared it became clear that static checks of Leo's code are not likely to be of great value! In short, the Aha has encouraged me to move on :-) 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 on the web visit https://groups.google.com/d/msgid/leo-editor/4fcafe06-4eb5-470c-8cbd-550f0569249bn%40googlegroups.com.
