first commit from latest version at 15 november + python bindings patch