datacamp / pythonwhat

Verify Python code submissions and auto-generate meaningful feedback messages.
http://pythonwhat.readthedocs.io/
GNU Affero General Public License v3.0
69 stars 31 forks source link

Support for IPython Magic Commands #33

Closed filipsch closed 7 years ago

filipsch commented 8 years ago

Related to issue posted by @hugobowne datacamp/pythonwhat#31

Python Magic Commands, such as ! ls are not supported due to ast, used for parsing.

This is a pain in the ass to support, so will take a long time.

machow commented 7 years ago

This should probably be treated as an issue of implementing an additional backend, since something like !ls should rightfully return an error in all courses that are teaching standard CPython.

(may be worth opening on pythonbackend if a course is planned to teach ipython shell)