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.

Author serhiy.storchaka
Recipients methane, serhiy.storchaka, vstinner
Date 2017-01-24.09:06:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485248791.98.0.982574743002.issue29360@psf.upfronthosting.co.za>
In-reply-to
Content
The assertion was valid while all keywords did came from a constant keywords tuple in CALL_FUNCTION_KW. But if the FASTCALL protocol is extended for var-keyword arguments, keywords can be arbitrary and the assertion can fail. The assertion on the next line can fail too.

Calling _PyStack_AsDict() with non-string or non-unique keywords means that the var-keyword argument was first unpacked to arrays of keyword names and values and then converted back to a dict. Seems something is done non-efficiently.
History
Date User Action Args
2017-01-24 09:06:32serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, methane
2017-01-24 09:06:31serhiy.storchakasetmessageid: <1485248791.98.0.982574743002.issue29360@psf.upfronthosting.co.za>
2017-01-24 09:06:31serhiy.storchakalinkissue29360 messages
2017-01-24 09:06:31serhiy.storchakacreate