On Friday, November 1, 2019 at 8:33:14 AM UTC-5, Edward K. Ream wrote: For now, I'll ignore the bug, except for filing a python bug, and ask for > guidance about fixing it. >
There's a better way, which is to rewrite the null_tok_b.make_input_tokens, using the legacy PythonTokenBeautifier.run as a template. I didn't think of doing this before, because it contains code idiosyncratic to the class. But Aha, I can encapsulate all class-specific code in one or more new token hooks! The way is open for rewriting untokenize. This is worth doing. The next step will be to devise an easy way of running python's relevant unit tests, in test_tokenize.py, on the new code. 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/9c8ee20d-f04b-40fd-b5e3-300cdb7517e0%40googlegroups.com.
