New submission from Szieberth Ádám:
I just faced the following bug (v3.4.2):
t1 = '#5 amarg (Concession)'
t2 = '#6 ironman (Concession)'
s = ' (Concession)'
t1.rstrip(s)
'#5 amarg'
t2.rstrip(s)
'#6 ironma'
t1[:-len(s)]
'#5 amarg'
t2[:-len(s)]
'#6 ironman'
--
messages: 230343
New submission from Szieberth Ádám:
I faced this particular issue by writing decorators for asyncio coroutines.
I even posted a question to SO:
http://stackoverflow.com/questions/23015626/how-to-decorate-an-asyncio-coroutine-to-retain-its-name
However, since that I realized the problem