◐ Shell
clean mode source ↗

[3.8] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags by gvanrossum · Pull Request #21023 · python/cpython

Stefan Behnel reported that cf_feature_version is used even when
PyCF_ONLY_AST is not set. This is against the intention and against the
documented behavior, so it's been fixed. Includes a test contributed by Stefan.

https://bugs.python.org/issue35975