Bison in Python