py/objexcept: Allow clearing traceback with 'exc.__traceback__ = None'.
py/objexcept: Allow clearing traceback with 'exc.__traceback__ = None'.

We allow 'exc.__traceback__ = None' assignment as a low-level optimization
of pre-allocating exception instance and raising it repeatedly - this
avoids memory allocation during raise. However, uPy will keep adding
traceback entries to such exception instance, so before throwing it,
traceback should be cleared like above.

'exc.__traceback__ = None' syntax is CPython compatible. However, unlike
it, reading that attribute or setting it to any other value is not
supported (and not intended to be supported, again, the only reason for
adding this feature is to allow zero-memalloc exception raising).

pozetroninc/micropython,henriknelson/micropython,AriZuu/micropython,MrSurly/micropython-esp32,torwag/micropython,Timmenem/micropython,micropython/micropython-esp32,mhoffma/micropython,oopy/micropython,Timmenem/micropython,HenrikSolver/micropython,PappaPeppar/micropython,Peetz0r/micropython-esp32,blazewicz/micropython,Peetz0r/micropython-esp32,oopy/micropython,pramasoul/micropython,pfalcon/micropython,henriknelson/micropython,chrisdearman/micropython,adafruit/micropython,cwyark/micropython,blazewicz/micropython,puuu/micropython,puuu/micropython,puuu/micropython,kerneltask/micropython,pramasoul/micropython,ryannathans/micropython,tralamazza/micropython,trezor/micropython,tobbad/micropython,mhoffma/micropython,alex-robbins/micropython,HenrikSolver/micropython,swegener/micropython,adafruit/circuitpython,deshipu/micropython,oopy/micropython,tuc-osg/micropython,pozetroninc/micropython,alex-robbins/micropython,hiway/micropython,swegener/micropython,adafruit/micropython,AriZuu/micropython,PappaPeppar/micropython,micropython/micropython-esp32,adafruit/micropython,TDAbboud/micropython,selste/micropython,infinnovation/micropython,pramasoul/micropython,toolmacher/micropython,SHA2017-badge/micropython-esp32,alex-robbins/micropython,bvernoux/micropython,adafruit/circuitpython,lowRISC/micropython,lowRISC/micropython,infinnovation/micropython,Peetz0r/micropython-esp32,trezor/micropython,PappaPeppar/micropython,dmazzella/micropython,ryannathans/micropython,pfalcon/micropython,hiway/micropython,swegener/micropython,torwag/micropython,pfalcon/micropython,torwag/micropython,deshipu/micropython,puuu/micropython,kerneltask/micropython,alex-robbins/micropython,deshipu/micropython,hiway/micropython,oopy/micropython,bvernoux/micropython,kerneltask/micropython,bvernoux/micropython,SHA2017-badge/micropython-esp32,ryannathans/micropython,toolmacher/micropython,tobbad/micropython,Timmenem/micropython,lowRISC/micropython,TDAbboud/micropython,henriknelson/micropython,bvernoux/micropython,MrSurly/micropython-esp32,adafruit/circuitpython,henriknelson/micropython,AriZuu/micropython,infinnovation/micropython,toolmacher/micropython,Peetz0r/micropython-esp32,HenrikSolver/micropython,tralamazza/micropython,tuc-osg/micropython,HenrikSolver/micropython,micropython/micropython-esp32,chrisdearman/micropython,tralamazza/micropython,adafruit/circuitpython,blazewicz/micropython,swegener/micropython,infinnovation/micropython,deshipu/micropython,tuc-osg/micropython,mhoffma/micropython,trezor/micropython,hiway/micropython,chrisdearman/micropython,lowRISC/micropython,adafruit/circuitpython,blazewicz/micropython,Timmenem/micropython,TDAbboud/micropython,selste/micropython,ryannathans/micropython,cwyark/micropython,MrSurly/micropython-esp32,ryannathans/micropython,adafruit/micropython,pozetroninc/micropython,henriknelson/micropython,torwag/micropython,pfalcon/micropython,AriZuu/micropython,puuu/micropython,tuc-osg/micropython,blazewicz/micropython,chrisdearman/micropython,MrSurly/micropython,selste/micropython,chrisdearman/micropython,deshipu/micropython,Timmenem/micropython,tralamazza/micropython,kerneltask/micropython,pozetroninc/micropython,swegener/micropython,TDAbboud/micropython,cwyark/micropython,Peetz0r/micropython-esp32,tobbad/micropython,toolmacher/micropython,MrSurly/micropython,adafruit/circuitpython,tuc-osg/micropython,oopy/micropython,mhoffma/micropython,AriZuu/micropython,alex-robbins/micropython,pramasoul/micropython,SHA2017-badge/micropython-esp32,tobbad/micropython,bvernoux/micropython,toolmacher/micropython,dmazzella/micropython,lowRISC/micropython,mhoffma/micropython,PappaPeppar/micropython,infinnovation/micropython,MrSurly/micropython,cwyark/micropython,micropython/micropython-esp32,adafruit/micropython,PappaPeppar/micropython,MrSurly/micropython,trezor/micropython,TDAbboud/micropython,pozetroninc/micropython,kerneltask/micropython,SHA2017-badge/micropython-esp32,MrSurly/micropython-esp32,SHA2017-badge/micropython-esp32,selste/micropython,MrSurly/micropython-esp32,dmazzella/micropython,hiway/micropython,micropython/micropython-esp32,selste/micropython,tobbad/micropython,dmazzella/micropython,cwyark/micropython,trezor/micropython,pfalcon/micropython,torwag/micropython,pramasoul/micropython,MrSurly/micropython,HenrikSolver/micropython