ironpython modifications

converted to work under python 2
added proactive check for frames argument
suppress compilation