[PATCH STABLE] dispatch: work around UnicodeDecodeError caused by SSLError of Python 2.7.9

Matt Mackall mpm at selenic.com
Sat Feb 28 14:33:39 CST 2015


On Thu, 2015-02-26 at 23:58 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1424961033 -32400
> #      Thu Feb 26 23:30:33 2015 +0900
> # Branch stable
> # Node ID 1616acd9a1e2b72b00f9a00ec0c3db6397d6d972
> # Parent  756c5c8331b06caba7a9b1bc1d0943323cf65b93
> dispatch: work around UnicodeDecodeError caused by SSLError of Python 2.7.9
> 
> SSLError of Python 2.7.9 may keep error message in unicode. It will be
> wrapped by URLError(reason) at KeepAliveHandler.do_open, so inst.reason can
> be a unicode.

Uniderp. Queued for stable, thanks.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list