Allen Barker
Allen Barker
@nj-kore, do you have a code snippet which reproduces the problem?
In most cases all the `typing` imports could be stripped, but there isn't any easy way to strip them out and maintain guaranteed program correctness (like when just stripping hints)....
The program should remove all the whitespace, but the problem is that it works at the level of the Python tokenizer/untokenizer. The tokens for type hints have their strings converted...
The program works at the tokenizer level, by changing or setting empty the strings associated with certain tokens in order to strip them. When the Python untokenizer is called to...
You're right, I forgot to remove my testing configuration (that runs the compiled Lyx 2.4 code). I'll push out a fixed version shortly. Any help is certainly welcome.
The fixed version has been pushed to GitHub.
Sage cells haven't been tested in a while. As you found, Sage has since added ANSI colors to the output which messes up the prompt detection. The color-code removing regexes...
This is actually a bug which was introduced in the `untokenize` routine in the Python library. See here: https://bugs.python.org/issue35107. Strip-hints uses that routine to convert modified token lists back to...
I'm not really familiar with Alma Linux. It sounds like the distribution still wants to install an old version of pillow. The setup.py file is set to require >=10.1.0 because...
That's a clever solution. Does it also work for `typing.NamedTuple` or are you saying that there's still an issue there? Presumably the method would still work if only the first...