3 ms·
If Python simply parsed and evaluated top-level expressions one by one, you could test the value of some version variable and act accordingly. Like for this ran
by kazinator 5y ago
If Python simply parsed and evaluated top-level expressions one by one, you could test the value of some version variable and act accordingly. Like for this range of versions, load this file, otherwise load that one.
If I think of this problem in a Lisp frame, it does not scream "use macros" at me.