mercurial/pure/__init__.py
author Denis Laxalde <denis@laxalde.org>
Tue, 12 Nov 2019 22:52:30 +0100
changeset 43670 bdb0ddab7bb3
parent 16438 28a90cdf0ca0
permissions -rw-r--r--
mail: let all charset values be native strings Charset values will typically be used to build email.header.Header instances, which takes str (though it tolerates bytes) or passed to decode()/encode() methods of string values (which want str). It seems that using native str involves less conversions than before and this also helps type hinting (as illustrates removal of pytype disabling instructions).
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: