Message12262

Author jeff.allen
Recipients jeff.allen, stefan.richthofer
Date 2019-01-04.08:19:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546589946.47.0.452322385136.issue2663@roundup.psfhosted.org>
In-reply-to
Content
> > 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).
History
Date User Action Args
2019-01-04 08:19:06jeff.allensetmessageid: <1546589946.47.0.452322385136.issue2663@roundup.psfhosted.org>
2019-01-04 08:19:06jeff.allensetrecipients: + jeff.allen, stefan.richthofer
2019-01-04 08:19:06jeff.allenlinkissue2663 messages
2019-01-04 08:19:06jeff.allencreate