This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: test_traceback is broken by new CALL_FUNCTION* opcodes
Type: Stage:
Components: Versions: Python 3.6
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Demur Rumed, abarry, python-dev, serhiy.storchaka, vstinner
Priority: normal Keywords:

Created on 2016-09-09 19:11 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (6)
msg275396 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-09-09 19:11
I skipped the failing tests just to be able to push my FASTCALL changes before Python 3.6 feature freeze.

I opened this issue to not forget to fix it.
msg275403 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2016-09-09 19:28
New changeset a77756e480c2 by Victor Stinner in branch 'default':
Rework CALL_FUNCTION* opcodes
msg275453 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-09-09 21:37
Serhiy proposed a fix in the issue #27213 (starting at callfunc-10.patch).
msg282438 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-12-05 17:07
Oh, this issue was already fixed, thanks Serhiy :-)

changeset:   103659:51b635e81958
user:        Serhiy Storchaka <>
date:        Mon Sep 12 00:52:40 2016 +0300
files:       Include/abstract.h Lib/ Lib/test/ Lib/test/ Objects/abstract.c Objects/methodobject.c Python/ceval.c Python/compile.c Python/importlib.h Python/imp
Issue #27213: Fixed different issues with reworked CALL_FUNCTION* opcodes.

* BUILD_TUPLE_UNPACK and BUILD_MAP_UNPACK_WITH_CALL no longer generated with
  single tuple or dict.
* Restored more informative error messages for incorrect var-positional and
  var-keyword arguments.
* Removed code duplications in _PyEval_EvalCodeWithName().
* Removed redundant runtime checks and parameters in _PyStack_AsDict().
* Added a workaround and enabled previously disabled test in test_traceback.
* Removed dead code from the dis module.
msg282440 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2016-12-05 17:19
It is rather worked around.
msg282441 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2016-12-05 17:27
Serhiy Storchaka added the comment:
> It is rather worked around.

The test pass, the change looks good to me. I don't think that it's
still worth it to keep the issue open ;-)
Date User Action Args
2022-04-11 14:58:36adminsetgithub: 72237
2016-12-05 17:27:41vstinnersetmessages: + msg282441
2016-12-05 17:19:07serhiy.storchakasetmessages: + msg282440
2016-12-05 17:07:10vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg282438
2016-09-09 21:37:26vstinnersetmessages: + msg275453
2016-09-09 21:35:24abarrysetnosy: + abarry
2016-09-09 19:28:41python-devsetnosy: + python-dev
messages: + msg275403
2016-09-09 19:11:31vstinnercreate