py: Allow bytes object as argument to some str methods.
py: Allow bytes object as argument to some str methods.

This turns failing assertions to type exceptions for things like
b"123".find(...).  We still don't support operations like this on bytes
objects (unlike CPython), but at least it no longer crashes.

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