On Mon, Feb 12, 2018 at 10:07 PM, David Mertz wrote:
> I'm not sure I'm convinced by Sylvain that Boolean needs to be an ABC in
> the standard library; Guido expresses skepticism. Of course it is possible
> to define it in some other library that actually needs to use
> `isinstance(x, Boolean)`
Le 03/02/2018 à 23:04, Franklin? Lee a écrit :
> Let s be a str. I propose to allow these existing str methods to take
> params in new forms.
>
> s.replace(old, new):
> Allow passing in a collection of olds.
> Allow passing in a single argument, a mapping of olds to news.
> Allow the