[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue tracker housecleaning: SVN-1804

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Mon, 4 Nov 2019 15:56:30 -0500

> On Sun, Nov 3, 2019 at 11:50 PM Daniel Shahaf <d.s_at_daniel.shahaf.name>
wrote:
> We could do:
>
> try:
> # py3
> eval("raise MessageSendFailure from detail")
> except SyntaxError:
> # py2
> raise MessageSendFailure

Neat trick!

> Or we could just keep the «raise … from» construct in there,
unconditional, and
> bump the script's minimum Python version to 3 on trunk. Analysis:

Hmmm...

I'll commit the 'finally' block fix, since that's a separate
issue entirely and deserves its own commit.

Yasuhito points out that there are other issues to fix to support
Py3 in mailer.py.

So before I rush to change the 'raise .. from' lines, I'll wait until
we decide which way to go with the required Python version.

Nathan
Received on 2019-11-04 21:56:50 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.