You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/1st1'closed_at=<Date2014-03-27.22:45:42.214>created_at=<Date2014-03-01.16:35:04.836>labels= ['type-bug', 'library']
title='inspect.getcallargs() raises the wrong error if 3+ arguments are missing'updated_at=<Date2014-03-27.22:46:06.513>user='https://bugs.python.org/jlowin'
The bug is caused by a list of names not getting properly expanded when generating the error message. This patch fixes it (simply by adding a * in the appropriate place) and tests that a TypeError, not an IndexError, is raised.
New changeset 35302cc4fc93 by Yury Selivanov in branch 'default':
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing. http://hg.python.org/cpython/rev/35302cc4fc93
New changeset 9f06cbb7962b by Yury Selivanov in branch '3.4':
inspect: Fix getcallargs() to fail correctly if more than 3 args are missing. http://hg.python.org/cpython/rev/9f06cbb7962b
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: