Fix Python 3 compatibilities (#6927)
Fix Python 3 compatibilities (#6927)


stefanhenneking/mxnet,dmlc/mxnet,piiswrong/mxnet,piiswrong/mxnet,leezu/mxnet,leezu/mxnet,jermainewang/mxnet,fullfanta/mxnet,lxn2/mxnet,tlby/mxnet,kevinthesun/mxnet,sxjscience/mxnet,mbaijal/incubator-mxnet,CodingCat/mxnet,Mega-DatA-Lab/mxnet,solin319/incubator-mxnet,precedenceguo/mxnet,ptrendx/mxnet,gautamkmr/incubator-mxnet,ykim362/mxnet,solin319/incubator-mxnet,sergeykolychev/mxnet,weleen/mxnet,solin319/incubator-mxnet,crazy-cat/incubator-mxnet,jennyzhang0215/incubator-mxnet,jermainewang/mxnet,yajiedesign/mxnet,mbaijal/incubator-mxnet,larroy/mxnet,tlby/mxnet,indhub/mxnet,szha/mxnet,ShownX/incubator-mxnet,hpi-xnor/BMXNet,sergeykolychev/mxnet,piiswrong/mxnet,jamesliu/mxnet,tlby/mxnet,weleen/mxnet,tlby/mxnet,hesseltuinhof/mxnet,madjam/mxnet,formath/mxnet,ShownX/incubator-mxnet,mbaijal/incubator-mxnet,apaleyes/mxnet,jermainewang/mxnet,Prasad9/incubator-mxnet,tlby/mxnet,tlby/mxnet,stefanhenneking/mxnet,saurabh3949/mxnet,dmlc/mxnet,Mega-DatA-Lab/mxnet,saurabh3949/mxnet,xcgoner/dist-mxnet,rahul003/mxnet,leezu/mxnet,sergeykolychev/mxnet,madjam/mxnet,reminisce/mxnet,Prasad9/incubator-mxnet,jamesliu/mxnet,LinkHS/incubator-mxnet,yuruofeifei/mxnet,leezu/mxnet,fullfanta/mxnet,indhub/mxnet,wangyum/mxnet,zhreshold/mxnet,crazy-cat/incubator-mxnet,navrasio/mxnet,jiajiechen/mxnet,weleen/mxnet,ykim362/mxnet,ykim362/mxnet,apaleyes/mxnet,thirdwing/mxnet,antoan2/incubator-mxnet,TuSimple/mxnet,DR08/mxnet,DR08/mxnet,nicklhy/mxnet,TuSimple/mxnet,thirdwing/mxnet,hotpxl/mxnet,crazy-cat/incubator-mxnet,saurabh3949/mxnet,vikingMei/mxnet,jennyzhang0215/incubator-mxnet,yuruofeifei/mxnet,stefanhenneking/mxnet,thirdwing/mxnet,TuSimple/mxnet,mbaijal/incubator-mxnet,kevinthesun/mxnet,Mega-DatA-Lab/mxnet,ZihengJiang/mxnet,hpi-xnor/BMXNet,yajiedesign/mxnet,jermainewang/mxnet,kevinthesun/mxnet,DickJC123/mxnet,jennyzhang0215/incubator-mxnet,lxn2/mxnet,TuSimple/mxnet,yuruofeifei/mxnet,jamesliu/mxnet,szha/mxnet,madjam/mxnet,TuSimple/mxnet,eric-haibin-lin/mxnet,eric-haibin-lin/mxnet,hesseltuinhof/mxnet,yuruofeifei/mxnet,DR08/mxnet,zhreshold/mxnet,apaleyes/mxnet,indhub/mxnet,luoyetx/mxnet,reminisce/mxnet,luoyetx/mxnet,dmlc/mxnet,luoyetx/mxnet,eric-haibin-lin/mxnet,kevinthesun/mxnet,madjam/mxnet,eric-haibin-lin/mxnet,CodingCat/mxnet,xcgoner/dist-mxnet,hpi-xnor/BMXNet,weleen/mxnet,xcgoner/dist-mxnet,wangyum/mxnet,navrasio/mxnet,hpi-xnor/BMXNet,sxjscience/mxnet,zhreshold/mxnet,hotpxl/mxnet,thirdwing/mxnet,jamesliu/mxnet,weleen/mxnet,antoan2/incubator-mxnet,navrasio/mxnet,stefanhenneking/mxnet,sxjscience/mxnet,luoyetx/mxnet,Mega-DatA-Lab/mxnet,precedenceguo/mxnet,xcgoner/dist-mxnet,rahul003/mxnet,reminisce/mxnet,jiajiechen/mxnet,sergeykolychev/mxnet,lxn2/mxnet,vikingMei/mxnet,TuSimple/mxnet,sxjscience/mxnet,Mega-DatA-Lab/mxnet,ForkedReposBak/mxnet,yuruofeifei/mxnet,ptrendx/mxnet,navrasio/mxnet,yuruofeifei/mxnet,apaleyes/mxnet,ptrendx/mxnet,jamesliu/mxnet,Prasad9/incubator-mxnet,precedenceguo/mxnet,vikingMei/mxnet,navrasio/mxnet,antoan2/incubator-mxnet,tornadomeet/mxnet,LinkHS/incubator-mxnet,fullfanta/mxnet,apache/incubator-mxnet,smolix/incubator-mxnet,rahul003/mxnet,tornadomeet/mxnet,leezu/mxnet,leezu/mxnet,madjam/mxnet,hotpxl/mxnet,Northrend/mxnet,zhreshold/mxnet,gautamkmr/incubator-mxnet,jamesliu/mxnet,DR08/mxnet,CodingCat/mxnet,ykim362/mxnet,wangyum/mxnet,kkk669/mxnet,indhub/mxnet,hotpxl/mxnet,jamesliu/mxnet,rahul003/mxnet,gautamkmr/incubator-mxnet,larroy/mxnet,apaleyes/mxnet,leezu/mxnet,ykim362/mxnet,Prasad9/incubator-mxnet,DickJC123/mxnet,ShownX/incubator-mxnet,nicklhy/mxnet,tornadomeet/mxnet,Mega-DatA-Lab/mxnet,szha/mxnet,kkk669/mxnet,sergeykolychev/mxnet,mbaijal/incubator-mxnet,sergeykolychev/mxnet,madjam/mxnet,hotpxl/mxnet,nicklhy/mxnet,jennyzhang0215/incubator-mxnet,vikingMei/mxnet,precedenceguo/mxnet,yajiedesign/mxnet,Northrend/mxnet,weleen/mxnet,formath/mxnet,hesseltuinhof/mxnet,fullfanta/mxnet,zhreshold/mxnet,xcgoner/dist-mxnet,hesseltuinhof/mxnet,hotpxl/mxnet,weleen/mxnet,saurabh3949/mxnet,kevinthesun/mxnet,apaleyes/mxnet,ykim362/mxnet,saurabh3949/mxnet,eric-haibin-lin/mxnet,mbaijal/incubator-mxnet,piiswrong/mxnet,thirdwing/mxnet,apache/incubator-mxnet,madjam/mxnet,thirdwing/mxnet,larroy/mxnet,wangyum/mxnet,precedenceguo/mxnet,indhub/mxnet,nicklhy/mxnet,jennyzhang0215/incubator-mxnet,ForkedReposBak/mxnet,xcgoner/dist-mxnet,DR08/mxnet,larroy/mxnet,formath/mxnet,kkk669/mxnet,CodingCat/mxnet,dmlc/mxnet,madjam/mxnet,gautamkmr/incubator-mxnet,kevinthesun/mxnet,ShownX/incubator-mxnet,sergeykolychev/mxnet,yajiedesign/mxnet,luoyetx/mxnet,formath/mxnet,hesseltuinhof/mxnet,fullfanta/mxnet,LinkHS/incubator-mxnet,kkk669/mxnet,rahul003/mxnet,xcgoner/dist-mxnet,tornadomeet/mxnet,jennyzhang0215/incubator-mxnet,yajiedesign/mxnet,crazy-cat/incubator-mxnet,larroy/mxnet,sxjscience/mxnet,vikingMei/mxnet,szha/mxnet,gautamkmr/incubator-mxnet,Mega-DatA-Lab/mxnet,jermainewang/mxnet,vikingMei/mxnet,nicklhy/mxnet,nicklhy/mxnet,antoan2/incubator-mxnet,kevinthesun/mxnet,jermainewang/mxnet,sxjscience/mxnet,ShownX/incubator-mxnet,jiajiechen/mxnet,ForkedReposBak/mxnet,TuSimple/mxnet,reminisce/mxnet,smolix/incubator-mxnet,dmlc/mxnet,jermainewang/mxnet,Mega-DatA-Lab/mxnet,larroy/mxnet,hpi-xnor/BMXNet,xcgoner/dist-mxnet,DR08/mxnet,crazy-cat/incubator-mxnet,fullfanta/mxnet,nicklhy/mxnet,ptrendx/mxnet,DR08/mxnet,weleen/mxnet,ForkedReposBak/mxnet,madjam/mxnet,ZihengJiang/mxnet,luoyetx/mxnet,larroy/mxnet,Prasad9/incubator-mxnet,TuSimple/mxnet,TuSimple/mxnet,saurabh3949/mxnet,Northrend/mxnet,fullfanta/mxnet,weleen/mxnet,yajiedesign/mxnet,formath/mxnet,piiswrong/mxnet,formath/mxnet,ShownX/incubator-mxnet,ZihengJiang/mxnet,ShownX/incubator-mxnet,vikingMei/mxnet,kevinthesun/mxnet,wangyum/mxnet,luoyetx/mxnet,Prasad9/incubator-mxnet,LinkHS/incubator-mxnet,LinkHS/incubator-mxnet,antoan2/incubator-mxnet,lxn2/mxnet,tlby/mxnet,CodingCat/mxnet,ykim362/mxnet,lxn2/mxnet,saurabh3949/mxnet,tlby/mxnet,indhub/mxnet,piiswrong/mxnet,zhreshold/mxnet,kkk669/mxnet,antoan2/incubator-mxnet,hpi-xnor/BMXNet,navrasio/mxnet,CodingCat/mxnet,lxn2/mxnet,tornadomeet/mxnet,thirdwing/mxnet,ykim362/mxnet,gautamkmr/incubator-mxnet,ShownX/incubator-mxnet,reminisce/mxnet,hesseltuinhof/mxnet,reminisce/mxnet,apache/incubator-mxnet,precedenceguo/mxnet,CodingCat/mxnet,jiajiechen/mxnet,lxn2/mxnet,rahul003/mxnet,eric-haibin-lin/mxnet,indhub/mxnet,DickJC123/mxnet,xcgoner/dist-mxnet,hotpxl/mxnet,stefanhenneking/mxnet,luoyetx/mxnet,CodingCat/mxnet,zhreshold/mxnet,hotpxl/mxnet,DR08/mxnet,crazy-cat/incubator-mxnet,rahul003/mxnet,reminisce/mxnet,dmlc/mxnet,apache/incubator-mxnet,LinkHS/incubator-mxnet,ZihengJiang/mxnet,solin319/incubator-mxnet,ZihengJiang/mxnet,DR08/mxnet,kkk669/mxnet,stefanhenneking/mxnet,solin319/incubator-mxnet,piiswrong/mxnet,kevinthesun/mxnet,reminisce/mxnet,eric-haibin-lin/mxnet,solin319/incubator-mxnet,ForkedReposBak/mxnet,jiajiechen/mxnet,Northrend/mxnet,smolix/incubator-mxnet,stefanhenneking/mxnet,ptrendx/mxnet,lxn2/mxnet,hpi-xnor/BMXNet,solin319/incubator-mxnet,precedenceguo/mxnet,tornadomeet/mxnet,ptrendx/mxnet,solin319/incubator-mxnet,lxn2/mxnet,Northrend/mxnet,Northrend/mxnet,szha/mxnet,crazy-cat/incubator-mxnet,indhub/mxnet,kkk669/mxnet,piiswrong/mxnet,tlby/mxnet,Prasad9/incubator-mxnet,saurabh3949/mxnet,wangyum/mxnet,LinkHS/incubator-mxnet,thirdwing/mxnet,ForkedReposBak/mxnet,vikingMei/mxnet,fullfanta/mxnet,Prasad9/incubator-mxnet,saurabh3949/mxnet,tornadomeet/mxnet,eric-haibin-lin/mxnet,zhreshold/mxnet,reminisce/mxnet,yuruofeifei/mxnet,formath/mxnet,ForkedReposBak/mxnet,apaleyes/mxnet,ptrendx/mxnet,jiajiechen/mxnet,precedenceguo/mxnet,yajiedesign/mxnet,apaleyes/mxnet,nicklhy/mxnet,sxjscience/mxnet,navrasio/mxnet,gautamkmr/incubator-mxnet,LinkHS/incubator-mxnet,zhreshold/mxnet,indhub/mxnet,nicklhy/mxnet,hpi-xnor/BMXNet,jiajiechen/mxnet,smolix/incubator-mxnet,tornadomeet/mxnet,szha/mxnet,Northrend/mxnet,tlby/mxnet,kkk669/mxnet,formath/mxnet,eric-haibin-lin/mxnet,kkk669/mxnet,crazy-cat/incubator-mxnet,mbaijal/incubator-mxnet,formath/mxnet,smolix/incubator-mxnet,ShownX/incubator-mxnet,ykim362/mxnet,ZihengJiang/mxnet,antoan2/incubator-mxnet,stefanhenneking/mxnet,thirdwing/mxnet,szha/mxnet,fullfanta/mxnet,jermainewang/mxnet,ForkedReposBak/mxnet,szha/mxnet,Northrend/mxnet,navrasio/mxnet,Mega-DatA-Lab/mxnet,apaleyes/mxnet,smolix/incubator-mxnet,ptrendx/mxnet,jamesliu/mxnet,antoan2/incubator-mxnet,hesseltuinhof/mxnet,luoyetx/mxnet,sxjscience/mxnet,jiajiechen/mxnet,yajiedesign/mxnet,piiswrong/mxnet,jiajiechen/mxnet,solin319/incubator-mxnet,hotpxl/mxnet,crazy-cat/incubator-mxnet,wangyum/mxnet,jennyzhang0215/incubator-mxnet,gautamkmr/incubator-mxnet,sxjscience/mxnet,Prasad9/incubator-mxnet,wangyum/mxnet,sergeykolychev/mxnet,hesseltuinhof/mxnet,yuruofeifei/mxnet,szha/mxnet,ZihengJiang/mxnet,sergeykolychev/mxnet,leezu/mxnet,precedenceguo/mxnet,dmlc/mxnet,leezu/mxnet,navrasio/mxnet,mbaijal/incubator-mxnet,gautamkmr/incubator-mxnet,hpi-xnor/BMXNet,stefanhenneking/mxnet,larroy/mxnet,ZihengJiang/mxnet,yuruofeifei/mxnet,LinkHS/incubator-mxnet,jennyzhang0215/incubator-mxnet,smolix/incubator-mxnet,tornadomeet/mxnet,TuSimple/mxnet,Northrend/mxnet,smolix/incubator-mxnet,hesseltuinhof/mxnet,jennyzhang0215/incubator-mxnet,antoan2/incubator-mxnet,ptrendx/mxnet,ptrendx/mxnet,rahul003/mxnet,vikingMei/mxnet,dmlc/mxnet,rahul003/mxnet,ZihengJiang/mxnet,reminisce/mxnet,dmlc/mxnet,larroy/mxnet,mbaijal/incubator-mxnet,jermainewang/mxnet,ForkedReposBak/mxnet,CodingCat/mxnet,DickJC123/mxnet,wangyum/mxnet,yajiedesign/mxnet,jamesliu/mxnet,smolix/incubator-mxnet