[issue22774] Weird S.rstrip() result

2014-10-31 Thread Szieberth Ádám
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

[issue21205] Unable to make decorated generator object to inherit generator function's __name__

2014-04-12 Thread Szieberth Ádám
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