Hey fun fact I just learned: the correct way to exec a file and make the functions it defines part of your module's exports is:
exec(code_goes_here, globals())
I presume this works in py2 as well, but the jank-ass way I was doing it doesn't work in py3.
1
If you're using Respec, it's just an infinite loop, but if you're using bikeshed, you at least fall through to python (which I'm sure has its own chewing gum and bailing wire).
Mar 14, 2020 · 5:27 AM UTC
3



