Message12262
> > Testing the message text is a yukky way to sort exceptions
> Agreed. ... If you see a better way to triage the exception or if there is a better way now with current asm I am fully in support to improve this.
The version of ASM now in use throws a specific exception we can catch by type. I realised looking at #1891 that this had not been available when the code was written.
I'm a little surprised at Oracle removing this without warning. Java is usually good for continuity. (Ok, I found work-arounds for the user, but that feels like a removal.)
I think binascii.b2a_base64 is the thing (except for the annoying newline). |
|
Date |
User |
Action |
Args |
2019-01-04 08:19:06 | jeff.allen | set | messageid: <1546589946.47.0.452322385136.issue2663@roundup.psfhosted.org> |
2019-01-04 08:19:06 | jeff.allen | set | recipients:
+ jeff.allen, stefan.richthofer |
2019-01-04 08:19:06 | jeff.allen | link | issue2663 messages |
2019-01-04 08:19:06 | jeff.allen | create | |
|