Porting rlm_python to 2.0.0