Thanks for the report. I expect this to be an easy fix: "menugen.py" is the only python file as far as I can tell. It's only used during build time and is python3 compatible since syslinux version 4.07 according to the changelog.
Unless something goes wrong I should be able to close this with the next upload. Regards Lukas