[Python-Dev] Re: Pattern matching reborn: PEP 622 is dead, long live PEP 634, 635, 636

2020-10-24 Thread Nick Coghlan
On Sat., 24 Oct. 2020, 4:21 am Guido van Rossum, wrote: > On Fri, Oct 23, 2020 at 6:19 AM Tin Tvrtković > wrote: > >> Hi, >> >> first of all, I'm a big fan of the changes being proposed here since in >> my code I prefer the 'union' style of logic over the OO style. >> >> I was curious, though, i

[Python-Dev] Re: When to remove BytesWarning?

2020-10-24 Thread Christian Heimes
On 24/10/2020 05.19, Inada Naoki wrote: > Hi, all. > > To avoid BytesWarning, the compiler needs to do some hack when they > need to store bytes and str constants in one dict or set. > BytesWarning has maintenance costs. It is not huge, but significant. > > When can we remove it? My idea is: > >