[FIX] In Python fix _constraint