Wed, 18 Nov 2026 23:16:12 UTC Log in
Wrapper for Python's stdlib `tokenize` supporting roundtrips 34.40 KB built 2026-10-17 14:29:13 GMT

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 are writing a refactoring tool based on the python tokenization.

Dependencies

11 total
Requires10
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3dist(packaging)
  • python3dist(pip) >= 19
  • python3dist(pytest)
  • python3dist(setuptools) >= 40.8
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides1
  • python3-tokenize-rt = 6.2.0-8.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots