evhub / evhub/coconut

How to query the compile target Python version from inside the code?

Open
#367 3 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
4.4k
Forks
142
PR merge metrics
No merged PRs in 30d

Description

I´d like to compile other Coconut files dynamically from my coco script, but I need to know the target version of the current script, otherwise I get results that are incompatible with each other.
Using `sys.version_info.major` doesn´t work, as the compiling Python may differ from the target Python.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.