py: Simplify objfun/objgenerator connection, no need to call bc_get.