Make python script v3 compatible
Make python script v3 compatible

Closes #1709
Pull request reviewed by @neumino and @atnnn

Signed-off-by: Anatol Pomozov <5d78902c885bda21bab1f3f4d20718dff0167f20@gmail.com>

spblightadv/rethinkdb,wkennington/rethinkdb,marshall007/rethinkdb,Qinusty/rethinkdb,bchavez/rethinkdb,jmptrader/rethinkdb,grandquista/rethinkdb,matthaywardwebdesign/rethinkdb,sbusso/rethinkdb,AntouanK/rethinkdb,losywee/rethinkdb,victorbriz/rethinkdb,yakovenkodenis/rethinkdb,grandquista/rethinkdb,RubenKelevra/rethinkdb,pap/rethinkdb,jesseditson/rethinkdb,bchavez/rethinkdb,jmptrader/rethinkdb,alash3al/rethinkdb,greyhwndz/rethinkdb,bchavez/rethinkdb,mcanthony/rethinkdb,bpradipt/rethinkdb,ayumilong/rethinkdb,matthaywardwebdesign/rethinkdb,niieani/rethinkdb,jesseditson/rethinkdb,JackieXie168/rethinkdb,tempbottle/rethinkdb,JackieXie168/rethinkdb,mbroadst/rethinkdb,Qinusty/rethinkdb,AntouanK/rethinkdb,sbusso/rethinkdb,scripni/rethinkdb,KSanthanam/rethinkdb,eliangidoni/rethinkdb,catroot/rethinkdb,yaolinz/rethinkdb,lenstr/rethinkdb,spblightadv/rethinkdb,jesseditson/rethinkdb,grandquista/rethinkdb,Wilbeibi/rethinkdb,gavioto/rethinkdb,bpradipt/rethinkdb,eliangidoni/rethinkdb,marshall007/rethinkdb,robertjpayne/rethinkdb,wujf/rethinkdb,niieani/rethinkdb,ajose01/rethinkdb,eliangidoni/rethinkdb,mcanthony/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,AntouanK/rethinkdb,ayumilong/rethinkdb,bpradipt/rethinkdb,Qinusty/rethinkdb,robertjpayne/rethinkdb,spblightadv/rethinkdb,wojons/rethinkdb,wujf/rethinkdb,pap/rethinkdb,wojons/rethinkdb,Wilbeibi/rethinkdb,yakovenkodenis/rethinkdb,eliangidoni/rethinkdb,JackieXie168/rethinkdb,mquandalle/rethinkdb,4talesa/rethinkdb,captainpete/rethinkdb,greyhwndz/rethinkdb,wkennington/rethinkdb,ajose01/rethinkdb,scripni/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,catroot/rethinkdb,marshall007/rethinkdb,yaolinz/rethinkdb,captainpete/rethinkdb,bchavez/rethinkdb,gavioto/rethinkdb,yaolinz/rethinkdb,sbusso/rethinkdb,ajose01/rethinkdb,jmptrader/rethinkdb,urandu/rethinkdb,grandquista/rethinkdb,jmptrader/rethinkdb,jesseditson/rethinkdb,RubenKelevra/rethinkdb,spblightadv/rethinkdb,JackieXie168/rethinkdb,captainpete/rethinkdb,urandu/rethinkdb,catroot/rethinkdb,AntouanK/rethinkdb,Qinusty/rethinkdb,dparnell/rethinkdb,jesseditson/rethinkdb,scripni/rethinkdb,robertjpayne/rethinkdb,sontek/rethinkdb,dparnell/rethinkdb,losywee/rethinkdb,4talesa/rethinkdb,JackieXie168/rethinkdb,lenstr/rethinkdb,rrampage/rethinkdb,ajose01/rethinkdb,bpradipt/rethinkdb,robertjpayne/rethinkdb,elkingtonmcb/rethinkdb,rrampage/rethinkdb,scripni/rethinkdb,victorbriz/rethinkdb,JackieXie168/rethinkdb,mbroadst/rethinkdb,KSanthanam/rethinkdb,scripni/rethinkdb,spblightadv/rethinkdb,wujf/rethinkdb,sbusso/rethinkdb,yaolinz/rethinkdb,4talesa/rethinkdb,dparnell/rethinkdb,greyhwndz/rethinkdb,yaolinz/rethinkdb,KSanthanam/rethinkdb,rrampage/rethinkdb,RubenKelevra/rethinkdb,mquandalle/rethinkdb,catroot/rethinkdb,dparnell/rethinkdb,jesseditson/rethinkdb,alash3al/rethinkdb,jesseditson/rethinkdb,wkennington/rethinkdb,AntouanK/rethinkdb,pap/rethinkdb,mcanthony/rethinkdb,bchavez/rethinkdb,yakovenkodenis/rethinkdb,jmptrader/rethinkdb,4talesa/rethinkdb,bchavez/rethinkdb,sontek/rethinkdb,eliangidoni/rethinkdb,gdi2290/rethinkdb,victorbriz/rethinkdb,sbusso/rethinkdb,gavioto/rethinkdb,elkingtonmcb/rethinkdb,losywee/rethinkdb,yakovenkodenis/rethinkdb,bchavez/rethinkdb,mquandalle/rethinkdb,marshall007/rethinkdb,ayumilong/rethinkdb,catroot/rethinkdb,captainpete/rethinkdb,niieani/rethinkdb,KSanthanam/rethinkdb,bchavez/rethinkdb,wkennington/rethinkdb,wkennington/rethinkdb,dparnell/rethinkdb,sebadiaz/rethinkdb,jmptrader/rethinkdb,ayumilong/rethinkdb,KSanthanam/rethinkdb,losywee/rethinkdb,sbusso/rethinkdb,elkingtonmcb/rethinkdb,sontek/rethinkdb,pap/rethinkdb,spblightadv/rethinkdb,sebadiaz/rethinkdb,elkingtonmcb/rethinkdb,gdi2290/rethinkdb,matthaywardwebdesign/rethinkdb,grandquista/rethinkdb,greyhwndz/rethinkdb,wkennington/rethinkdb,tempbottle/rethinkdb,sontek/rethinkdb,mcanthony/rethinkdb,mbroadst/rethinkdb,tempbottle/rethinkdb,niieani/rethinkdb,dparnell/rethinkdb,tempbottle/rethinkdb,rrampage/rethinkdb,losywee/rethinkdb,ayumilong/rethinkdb,pap/rethinkdb,4talesa/rethinkdb,sontek/rethinkdb,pap/rethinkdb,JackieXie168/rethinkdb,scripni/rethinkdb,RubenKelevra/rethinkdb,Qinusty/rethinkdb,dparnell/rethinkdb,urandu/rethinkdb,ayumilong/rethinkdb,matthaywardwebdesign/rethinkdb,captainpete/rethinkdb,sebadiaz/rethinkdb,yakovenkodenis/rethinkdb,yakovenkodenis/rethinkdb,lenstr/rethinkdb,robertjpayne/rethinkdb,marshall007/rethinkdb,wujf/rethinkdb,rrampage/rethinkdb,gavioto/rethinkdb,mcanthony/rethinkdb,alash3al/rethinkdb,captainpete/rethinkdb,sebadiaz/rethinkdb,gdi2290/rethinkdb,niieani/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,dparnell/rethinkdb,eliangidoni/rethinkdb,bpradipt/rethinkdb,mquandalle/rethinkdb,mcanthony/rethinkdb,mbroadst/rethinkdb,jmptrader/rethinkdb,losywee/rethinkdb,victorbriz/rethinkdb,niieani/rethinkdb,urandu/rethinkdb,alash3al/rethinkdb,wojons/rethinkdb,ajose01/rethinkdb,RubenKelevra/rethinkdb,eliangidoni/rethinkdb,tempbottle/rethinkdb,yaolinz/rethinkdb,Wilbeibi/rethinkdb,sebadiaz/rethinkdb,gdi2290/rethinkdb,robertjpayne/rethinkdb,matthaywardwebdesign/rethinkdb,dparnell/rethinkdb,sebadiaz/rethinkdb,4talesa/rethinkdb,Qinusty/rethinkdb,gdi2290/rethinkdb,gdi2290/rethinkdb,sontek/rethinkdb,gavioto/rethinkdb,pap/rethinkdb,mquandalle/rethinkdb,rrampage/rethinkdb,robertjpayne/rethinkdb,RubenKelevra/rethinkdb,bpradipt/rethinkdb,yaolinz/rethinkdb,victorbriz/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,bpradipt/rethinkdb,matthaywardwebdesign/rethinkdb,rrampage/rethinkdb,captainpete/rethinkdb,RubenKelevra/rethinkdb,pap/rethinkdb,losywee/rethinkdb,Wilbeibi/rethinkdb,gavioto/rethinkdb,KSanthanam/rethinkdb,bpradipt/rethinkdb,ajose01/rethinkdb,Qinusty/rethinkdb,Wilbeibi/rethinkdb,sebadiaz/rethinkdb,catroot/rethinkdb,spblightadv/rethinkdb,elkingtonmcb/rethinkdb,KSanthanam/rethinkdb,sebadiaz/rethinkdb,JackieXie168/rethinkdb,rrampage/rethinkdb,mcanthony/rethinkdb,wojons/rethinkdb,scripni/rethinkdb,urandu/rethinkdb,lenstr/rethinkdb,lenstr/rethinkdb,alash3al/rethinkdb,alash3al/rethinkdb,ajose01/rethinkdb,sbusso/rethinkdb,yaolinz/rethinkdb,wkennington/rethinkdb,grandquista/rethinkdb,wujf/rethinkdb,alash3al/rethinkdb,mquandalle/rethinkdb,urandu/rethinkdb,ayumilong/rethinkdb,Wilbeibi/rethinkdb,4talesa/rethinkdb,ajose01/rethinkdb,Wilbeibi/rethinkdb,spblightadv/rethinkdb,mquandalle/rethinkdb,wkennington/rethinkdb,JackieXie168/rethinkdb,lenstr/rethinkdb,wojons/rethinkdb,sontek/rethinkdb,greyhwndz/rethinkdb,4talesa/rethinkdb,alash3al/rethinkdb,greyhwndz/rethinkdb,AntouanK/rethinkdb,mquandalle/rethinkdb,scripni/rethinkdb,lenstr/rethinkdb,wojons/rethinkdb,KSanthanam/rethinkdb,Wilbeibi/rethinkdb,gdi2290/rethinkdb,robertjpayne/rethinkdb,urandu/rethinkdb,elkingtonmcb/rethinkdb,yakovenkodenis/rethinkdb,wujf/rethinkdb,eliangidoni/rethinkdb,AntouanK/rethinkdb,wujf/rethinkdb,RubenKelevra/rethinkdb,Qinusty/rethinkdb,victorbriz/rethinkdb,yakovenkodenis/rethinkdb,AntouanK/rethinkdb,victorbriz/rethinkdb,catroot/rethinkdb,wojons/rethinkdb,robertjpayne/rethinkdb,captainpete/rethinkdb,matthaywardwebdesign/rethinkdb,elkingtonmcb/rethinkdb,catroot/rethinkdb,lenstr/rethinkdb,eliangidoni/rethinkdb,matthaywardwebdesign/rethinkdb,elkingtonmcb/rethinkdb,tempbottle/rethinkdb,tempbottle/rethinkdb,gavioto/rethinkdb,bchavez/rethinkdb,tempbottle/rethinkdb,marshall007/rethinkdb,losywee/rethinkdb,urandu/rethinkdb,wojons/rethinkdb,bpradipt/rethinkdb,marshall007/rethinkdb,greyhwndz/rethinkdb,marshall007/rethinkdb,mbroadst/rethinkdb,grandquista/rethinkdb,sbusso/rethinkdb,ayumilong/rethinkdb,mcanthony/rethinkdb,mbroadst/rethinkdb,Qinusty/rethinkdb,sontek/rethinkdb,victorbriz/rethinkdb,greyhwndz/rethinkdb