@amessina - I see that you can get the version numbers via defines, for example header files for python 3.5.3 has the following defines:

  #define PY_MAJOR_VERSION    3
  #define PY_MINOR_VERSION    5
  #define PY_MICRO_VERSION    3

So you can have:

#if PY_MAJOR_VERSION >= 3 && PY_MINOR_VERSION >= 7
...
#endif 


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.