[3.9] bpo-35975: Only use cf_feature_version if PyCF_ONLY_AST in cf_flags by gvanrossum · Pull Request #21022 · 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.