making two asserts out of one...
Python binding: wip on lgrngn