 Use __main__.__dict__ for globals as well as locals when running ptpython
 Use __main__.__dict__ for globals as well as locals when running ptpython

Thanks: f1ffdd6ece2a5494fc30ba63fe8fb73e7571429f@facingBackwards)

jonathanslenders/ptpython