I'm a big +1.
I prefer strip_prefix/strip_suffix but only by a little bit.
> On 1 Jul 2019, at 21:34, Kirill Balunov wrote:
>
>> This was quite extensively discussed on python-ideas recently:
>>
>> https://mail.python.org/archives/list/python-ideas@python.org/thread/RJARZSUKCXRJIP42Z2YBBAEN5
>
> This was quite extensively discussed on python-ideas recently:
>
>
> https://mail.python.org/archives/list/python-ideas@python.org/thread/RJARZSUKCXRJIP42Z2YBBAEN5XA7KEC3/#WIRID57ESUFUAQQQ6ZUY2RK5PKQQYSJ3
>
> (I'm finding it hard to find a good thread view in the new interface --
> but that wil
All,
Thanks for the feedback that everyone has provided. My time will be in
short supply in the near term, and so I am going to focus on taking all the
input that people have provided and if possible flesh out a stronger
proposal. I figured this would also slow the flood of emails on this thread
th
Steven,
Sorry about taking a few days to get back to you. Here is the exact code I
ran:
def test():
n = 0
def inner():
global g
nonlocal n
n = g
x = n
g = x
y = x
z = y
return x
for i in range(100):
a = inner()
fro