]> granicus.if.org Git - python/commit
bpo-24618: Add a check in the code constructor. (GH-8283) (GH-8311)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 17 Jul 2018 07:33:55 +0000 (10:33 +0300)
committerGitHub <noreply@github.com>
Tue, 17 Jul 2018 07:33:55 +0000 (10:33 +0300)
commitcf30d5c5b88276a9af863438839ba386b9723a14
treeee50b894ad7315c1a28f8bd0a5acecf7700f5978
parentcc13016658a9ed86d0b702ab6c251ad5952a952f
bpo-24618: Add a check in the code constructor. (GH-8283) (GH-8311)

Check that the size of the varnames tuple is enough at least for all arguments.
(cherry picked from commit bd47384e07bde38a8f18b90b4cea02a505d95c75)
Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst [new file with mode: 0644]
Objects/codeobject.c