Download raw body.
NEW: devel/pyupgrade, devel/py-tokenize-rt
This looks like it might be handy when we run into syntax errors when trying to run old code with new Python versions. ok to import these two? $ pkg_info pyupgrade Information for inst:pyupgrade-3.19.1 Comment: automatically upgrade syntax for newer versions of Python Description: pyupgrade is a tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language. It handles an extensive range of legacy and deprecated features. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: https://github.com/asottile/pyupgrade $ pkg_info py3-tokenize-rt Information for inst:py3-tokenize-rt-6.1.0 Comment: round-tripping wrapper for Python stdlib's "tokenize" Required by: pyupgrade-3.19.1 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. Maintainer: The OpenBSD ports mailing-list <ports@openbsd.org> WWW: https://github.com/asottile/tokenize-rt
NEW: devel/pyupgrade, devel/py-tokenize-rt