Fork of Tulip framework (PEP 3156) with added local context