A specific issue is "pya.Cursor.None" which is not available on Python. See https://www.klayout.de/forum/discussion/1357/pya-cursor-none-bug#latest for the related discussion.