The devel/py-tokenize-rt port
py3-tokenize-rt-6.1.0p1 – round-tripping wrapper for Python stdlib's "tokenize" (cvsweb github mirror)
Description
The stdlib tokenize module does not properly roundtrip. This wrapper around the stdlib provides two additional tokens ESCAPED_NL and UNIMPORTANT_WS, and a Token data type. Use src_to_tokens and tokens_to_src to roundtrip. This library is useful if you're writing a refactoring tool based on the Python tokenization.WWW: https://github.com/asottile/tokenize-rt
Maintainer
The OpenBSD ports mailing-list