[Tracker-discuss] [issue622] set_roundup_user selects wrong username

2017-03-27 Thread Ezio Melotti
Ezio Melotti added the comment: Applied in https://hg.python.org/tracker/roundup/rev/4d5a7f04978f -- status: chatting -> resolved ___ PSF Meta Tracker

[Tracker-discuss] [issue622] set_roundup_user selects wrong username

2017-03-25 Thread Ezio Melotti
Ezio Melotti added the comment: The attached patch fixes the issue. I couldn't find any method that checks for exact matches, so I kept filter and then checked the GH username manually. There is a lookup method, but IIUC it only works on the "key field", which in this case is the 'username'

[Tracker-discuss] [issue622] set_roundup_user selects wrong username

2017-03-25 Thread Ezio Melotti
New submission from Ezio Melotti: A user created https://github.com/python/cpython/pull/809 but the PR got linked with the wrong name: http://bugs.python.org/issue29862 This is because set_roundup_user uses filter() to find matching names, and filter returns all values that contain the given