In this snippet ```python if header.startswith("X-Forwarded-"): section = header.removeprefix("X-Forwarded-") ``` the `startswith()` check is unnecessary. If `header` doesn't start with "X-Forwarded-" then…
I'm the author/maintainer for logmerger, a side-by-side log file viewer built using the Python `textual` TUI framework. Side-by-side view merges log files into a single vertical timeline (an inline view can also be…
The 3.0 release of pyparsing includes some nice extensions over its older 2.x code base, including LR parsing support and railroad diagram generation. Also, PEP-8 API naming has been added (but with pre-PEP-8 synonyms…
I'm glad to see that somebody finds these to be useful.
In this snippet ```python if header.startswith("X-Forwarded-"): section = header.removeprefix("X-Forwarded-") ``` the `startswith()` check is unnecessary. If `header` doesn't start with "X-Forwarded-" then…
I'm the author/maintainer for logmerger, a side-by-side log file viewer built using the Python `textual` TUI framework. Side-by-side view merges log files into a single vertical timeline (an inline view can also be…
The 3.0 release of pyparsing includes some nice extensions over its older 2.x code base, including LR parsing support and railroad diagram generation. Also, PEP-8 API naming has been added (but with pre-PEP-8 synonyms…
I'm glad to see that somebody finds these to be useful.