Re: [Python-Dev] Subtle difference between f-strings and str.format()

2018-03-31 Thread Stefan Behnel
Serhiy Storchaka schrieb am 28.03.2018 um 17:27: > There is a subtle semantic difference between str.format() and "equivalent" > f-string. > >     '{}{}'.format(a, b) >     f'{a}{b}' > > In the former case b is evaluated before formatting a. This is equivalent to > >     t1 = a >     t2 = b >   

Re: [Python-Dev] Nuking wstr [Re: How can we use 48bit pointer safely?]

2018-03-31 Thread Antoine Pitrou
On Fri, 30 Mar 2018 21:40:21 +0300 Serhiy Storchaka wrote: > 30.03.18 16:54, Antoine Pitrou пише: > > We could also simply nuke wstr. I frankly don't think it's very > > important. It's only used when calling system functions taking a > > wchar_t argument, as an « optimization ». I'd be willin