py: Make int.from_bytes a classmethod; support arbitrary length buf.
py: Make int.from_bytes a classmethod; support arbitrary length buf.

ryannathans/micropython,noahwilliamsson/micropython,pfalcon/micropython,ruffy91/micropython,HenrikSolver/micropython,xyb/micropython,tuc-osg/micropython,xhat/micropython,henriknelson/micropython,cnoviello/micropython,suda/micropython,ganshun666/micropython,dhylands/micropython,mianos/micropython,blazewicz/micropython,MrSurly/micropython,ryannathans/micropython,aethaniel/micropython,ganshun666/micropython,lbattraw/micropython,orionrobots/micropython,mhoffma/micropython,kostyll/micropython,supergis/micropython,xyb/micropython,pramasoul/micropython,cwyark/micropython,tuc-osg/micropython,feilongfl/micropython,stonegithubs/micropython,methoxid/micropystat,vriera/micropython,slzatz/micropython,misterdanb/micropython,mhoffma/micropython,emfcamp/micropython,puuu/micropython,matthewelse/micropython,hiway/micropython,KISSMonX/micropython,toolmacher/micropython,tobbad/micropython,blmorris/micropython,alex-robbins/micropython,firstval/micropython,paul-xxx/micropython,cloudformdesign/micropython,pramasoul/micropython,lowRISC/micropython,emfcamp/micropython,lowRISC/micropython,micropython/micropython-esp32,ceramos/micropython,vriera/micropython,redbear/micropython,noahchense/micropython,SungEun-Steve-Kim/test-mp,adamkh/micropython,alex-robbins/micropython,MrSurly/micropython-esp32,vitiral/micropython,lbattraw/micropython,jmarcelino/pycom-micropython,aitjcize/micropython,blmorris/micropython,pramasoul/micropython,galenhz/micropython,noahchense/micropython,toolmacher/micropython,noahchense/micropython,swegener/micropython,slzatz/micropython,xuxiaoxin/micropython,utopiaprince/micropython,skybird6672/micropython,kostyll/micropython,alex-march/micropython,redbear/micropython,ericsnowcurrently/micropython,bvernoux/micropython,henriknelson/micropython,deshipu/micropython,danicampora/micropython,Peetz0r/micropython-esp32,martinribelotta/micropython,orionrobots/micropython,neilh10/micropython,kerneltask/micropython,ericsnowcurrently/micropython,martinribelotta/micropython,selste/micropython,firstval/micropython,xhat/micropython,jlillest/micropython,neilh10/micropython,Vogtinator/micropython,ryannathans/micropython,heisewangluo/micropython,mhoffma/micropython,skybird6672/micropython,warner83/micropython,chrisdearman/micropython,supergis/micropython,ruffy91/micropython,omtinez/micropython,jimkmc/micropython,kerneltask/micropython,selste/micropython,ernesto-g/micropython,misterdanb/micropython,lbattraw/micropython,HenrikSolver/micropython,slzatz/micropython,praemdonck/micropython,misterdanb/micropython,Vogtinator/micropython,swegener/micropython,ganshun666/micropython,cloudformdesign/micropython,ericsnowcurrently/micropython,lowRISC/micropython,HenrikSolver/micropython,cnoviello/micropython,mianos/micropython,suda/micropython,PappaPeppar/micropython,SHA2017-badge/micropython-esp32,utopiaprince/micropython,deshipu/micropython,supergis/micropython,vitiral/micropython,methoxid/micropystat,pozetroninc/micropython,PappaPeppar/micropython,torwag/micropython,pfalcon/micropython,mpalomer/micropython,puuu/micropython,infinnovation/micropython,hiway/micropython,kostyll/micropython,henriknelson/micropython,blmorris/micropython,martinribelotta/micropython,utopiaprince/micropython,xuxiaoxin/micropython,ganshun666/micropython,blmorris/micropython,vriera/micropython,cwyark/micropython,skybird6672/micropython,adafruit/circuitpython,tdautc19841202/micropython,kostyll/micropython,pozetroninc/micropython,omtinez/micropython,cnoviello/micropython,neilh10/micropython,infinnovation/micropython,xuxiaoxin/micropython,aitjcize/micropython,adafruit/circuitpython,adafruit/circuitpython,EcmaXp/micropython,SungEun-Steve-Kim/test-mp,adafruit/circuitpython,supergis/micropython,oopy/micropython,MrSurly/micropython,ganshun666/micropython,hosaka/micropython,selste/micropython,tdautc19841202/micropython,ChuckM/micropython,tdautc19841202/micropython,methoxid/micropystat,oopy/micropython,trezor/micropython,AriZuu/micropython,dmazzella/micropython,suda/micropython,PappaPeppar/micropython,kerneltask/micropython,ernesto-g/micropython,KISSMonX/micropython,dinau/micropython,adafruit/circuitpython,tralamazza/micropython,dxxb/micropython,cwyark/micropython,ernesto-g/micropython,noahwilliamsson/micropython,redbear/micropython,jmarcelino/pycom-micropython,ahotam/micropython,EcmaXp/micropython,lowRISC/micropython,firstval/micropython,infinnovation/micropython,MrSurly/micropython-esp32,warner83/micropython,mpalomer/micropython,jmarcelino/pycom-micropython,mhoffma/micropython,bvernoux/micropython,xyb/micropython,galenhz/micropython,hosaka/micropython,tralamazza/micropython,trezor/micropython,toolmacher/micropython,infinnovation/micropython,orionrobots/micropython,SHA2017-badge/micropython-esp32,puuu/micropython,tralamazza/micropython,henriknelson/micropython,hosaka/micropython,puuu/micropython,ryannathans/micropython,torwag/micropython,selste/micropython,xuxiaoxin/micropython,ahotam/micropython,neilh10/micropython,HenrikSolver/micropython,lbattraw/micropython,hosaka/micropython,matthewelse/micropython,adafruit/micropython,emfcamp/micropython,adamkh/micropython,turbinenreiter/micropython,ernesto-g/micropython,methoxid/micropystat,tdautc19841202/micropython,pozetroninc/micropython,neilh10/micropython,adafruit/circuitpython,adafruit/micropython,MrSurly/micropython,rubencabrera/micropython,tobbad/micropython,rubencabrera/micropython,toolmacher/micropython,dmazzella/micropython,vriera/micropython,cwyark/micropython,dhylands/micropython,orionrobots/micropython,EcmaXp/micropython,ericsnowcurrently/micropython,SungEun-Steve-Kim/test-mp,aitjcize/micropython,vitiral/micropython,Timmenem/micropython,oopy/micropython,ericsnowcurrently/micropython,feilongfl/micropython,slzatz/micropython,blmorris/micropython,ruffy91/micropython,chrisdearman/micropython,ahotam/micropython,vriera/micropython,stonegithubs/micropython,matthewelse/micropython,MrSurly/micropython,Vogtinator/micropython,dhylands/micropython,swegener/micropython,micropython/micropython-esp32,misterdanb/micropython,mgyenik/micropython,cwyark/micropython,alex-march/micropython,KISSMonX/micropython,hosaka/micropython,ceramos/micropython,orionrobots/micropython,danicampora/micropython,praemdonck/micropython,turbinenreiter/micropython,utopiaprince/micropython,pfalcon/micropython,jlillest/micropython,cloudformdesign/micropython,dxxb/micropython,noahwilliamsson/micropython,jimkmc/micropython,rubencabrera/micropython,tuc-osg/micropython,warner83/micropython,dmazzella/micropython,emfcamp/micropython,trezor/micropython,stonegithubs/micropython,drrk/micropython,praemdonck/micropython,infinnovation/micropython,galenhz/micropython,torwag/micropython,warner83/micropython,jimkmc/micropython,dinau/micropython,kerneltask/micropython,EcmaXp/micropython,SungEun-Steve-Kim/test-mp,cloudformdesign/micropython,heisewangluo/micropython,drrk/micropython,jimkmc/micropython,SHA2017-badge/micropython-esp32,mianos/micropython,dhylands/micropython,aitjcize/micropython,ceramos/micropython,aethaniel/micropython,matthewelse/micropython,chrisdearman/micropython,martinribelotta/micropython,dhylands/micropython,pfalcon/micropython,heisewangluo/micropython,lbattraw/micropython,adamkh/micropython,mgyenik/micropython,paul-xxx/micropython,omtinez/micropython,swegener/micropython,chrisdearman/micropython,Peetz0r/micropython-esp32,xyb/micropython,bvernoux/micropython,praemdonck/micropython,aethaniel/micropython,vitiral/micropython,tobbad/micropython,SHA2017-badge/micropython-esp32,AriZuu/micropython,mianos/micropython,alex-robbins/micropython,mpalomer/micropython,vitiral/micropython,ChuckM/micropython,blazewicz/micropython,tdautc19841202/micropython,paul-xxx/micropython,PappaPeppar/micropython,danicampora/micropython,TDAbboud/micropython,pramasoul/micropython,drrk/micropython,adamkh/micropython,mhoffma/micropython,ryannathans/micropython,misterdanb/micropython,galenhz/micropython,trezor/micropython,ceramos/micropython,adamkh/micropython,heisewangluo/micropython,turbinenreiter/micropython,TDAbboud/micropython,Timmenem/micropython,puuu/micropython,ahotam/micropython,MrSurly/micropython-esp32,turbinenreiter/micropython,paul-xxx/micropython,henriknelson/micropython,ruffy91/micropython,matthewelse/micropython,AriZuu/micropython,noahwilliamsson/micropython,suda/micropython,jimkmc/micropython,PappaPeppar/micropython,emfcamp/micropython,micropython/micropython-esp32,heisewangluo/micropython,Peetz0r/micropython-esp32,Timmenem/micropython,alex-march/micropython,feilongfl/micropython,SungEun-Steve-Kim/test-mp,warner83/micropython,firstval/micropython,bvernoux/micropython,pozetroninc/micropython,firstval/micropython,ernesto-g/micropython,suda/micropython,alex-robbins/micropython,AriZuu/micropython,skybird6672/micropython,MrSurly/micropython-esp32,TDAbboud/micropython,danicampora/micropython,xhat/micropython,ceramos/micropython,praemdonck/micropython,dinau/micropython,omtinez/micropython,mgyenik/micropython,rubencabrera/micropython,noahchense/micropython,noahwilliamsson/micropython,kerneltask/micropython,xhat/micropython,deshipu/micropython,torwag/micropython,mianos/micropython,mpalomer/micropython,micropython/micropython-esp32,Peetz0r/micropython-esp32,rubencabrera/micropython,HenrikSolver/micropython,galenhz/micropython,Peetz0r/micropython-esp32,tobbad/micropython,dxxb/micropython,tralamazza/micropython,slzatz/micropython,drrk/micropython,alex-robbins/micropython,xuxiaoxin/micropython,selste/micropython,torwag/micropython,adafruit/micropython,blazewicz/micropython,stonegithubs/micropython,KISSMonX/micropython,alex-march/micropython,TDAbboud/micropython,tobbad/micropython,jlillest/micropython,pfalcon/micropython,mgyenik/micropython,ChuckM/micropython,skybird6672/micropython,dxxb/micropython,toolmacher/micropython,turbinenreiter/micropython,EcmaXp/micropython,ahotam/micropython,cloudformdesign/micropython,lowRISC/micropython,tuc-osg/micropython,chrisdearman/micropython,MrSurly/micropython,aethaniel/micropython,tuc-osg/micropython,adafruit/micropython,jlillest/micropython,kostyll/micropython,alex-march/micropython,martinribelotta/micropython,hiway/micropython,redbear/micropython,dinau/micropython,ruffy91/micropython,drrk/micropython,pozetroninc/micropython,blazewicz/micropython,blazewicz/micropython,mpalomer/micropython,jmarcelino/pycom-micropython,redbear/micropython,paul-xxx/micropython,TDAbboud/micropython,AriZuu/micropython,ChuckM/micropython,methoxid/micropystat,matthewelse/micropython,pramasoul/micropython,aethaniel/micropython,dinau/micropython,Timmenem/micropython,cnoviello/micropython,oopy/micropython,Vogtinator/micropython,oopy/micropython,xhat/micropython,hiway/micropython,danicampora/micropython,KISSMonX/micropython,dmazzella/micropython,utopiaprince/micropython,adafruit/micropython,feilongfl/micropython,jmarcelino/pycom-micropython,bvernoux/micropython,jlillest/micropython,cnoviello/micropython,feilongfl/micropython,stonegithubs/micropython,trezor/micropython,Vogtinator/micropython,omtinez/micropython,dxxb/micropython,xyb/micropython,supergis/micropython,micropython/micropython-esp32,noahchense/micropython,Timmenem/micropython,ChuckM/micropython,mgyenik/micropython,deshipu/micropython,SHA2017-badge/micropython-esp32,MrSurly/micropython-esp32,swegener/micropython,hiway/micropython,deshipu/micropython