Neil Girdhar added the comment: Thanks!
I've incorporated your changes to deal with the [*[0] for i in [0]] problem, although I don't understand them yet. The problem with using STORE_MAP is you create a new dict for each keyword argument in that situation. I optimized that away. Good catch on the BUILD_MAP opcode problem. I could not figure out why that wasn't working! I added some tests. Did you say you had some tests? One of the tests that both of our code is failing on still is: >>> def f(x, y): ... print(x, y) ... >>> f(x=5, **{'x': 1}, **{'x': 3}, y=2) It's just a problem in ceval that I'll work on now. ---------- Added file: http://bugs.python.org/file37799/starunpack9.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2292> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com