dsa-ou / allowed

Check if a program only uses a subset of the Python language.
https://dsa-ou.github.io/allowed/
BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

allow 'from ... import *' #35

Open mwermelinger opened 10 months ago

mwermelinger commented 10 months ago

The IMPORTS dictionary currently must list explicitly each function, constant, class that can be imported from a module. It would nice to specify "module": ["*"] to allow the student to import anything from the given module.

mwermelinger commented 6 months ago

This is used in TM112 for the turtle module.