Message309390
My guess is there is no message because in Python 3, errors are encoded according to PYTHONIOENCODING. Perhaps it works as you expect if you bypass sys.excepthook:
$ PYTHONIOENCODING=undefined python -c 'import sys, os; sys.excepthook = lambda *exc: os.write(2, ascii(exc).encode()); print(u"abc")'
(<class 'UnicodeError'>, UnicodeError('undefined encoding',), <traceback object at 0xb7037b94>) |
|
Date |
User |
Action |
Args |
2018-01-02 19:30:14 | martin.panter | set | recipients:
+ martin.panter, lemburg, ncoghlan, vstinner, benjamin.peterson, ezio.melotti, serhiy.storchaka |
2018-01-02 19:30:14 | martin.panter | set | messageid: <1514921414.89.0.467229070634.issue32456@psf.upfronthosting.co.za> |
2018-01-02 19:30:14 | martin.panter | link | issue32456 messages |
2018-01-02 19:30:14 | martin.panter | create | |
|