On the same spirit of #118, simple having a code that have exec on it does not mean that it will be called. Should compile and maybe raise a NotImplementedError on runtime, if called.
try:
from math import sum
except ImportError:
exec '2+2'
and:
$ grumpy -c 'exec "2+2"'
Traceback (most recent call last):
File "/Users/alanjds/src/git/grumpy/grumpy-tools-src/__main__.py", line 1, in <module>
NotImplementedError: exec is not available on Grumpy. Maybe never be.
On the same spirit of #118, simple having a code that have
exec
on it does not mean that it will be called. Should compile and maybe raise aNotImplementedError
on runtime, if called.and: