[3.8] bpo-36974: separate vectorcall functions for each calling convention (GH-13781) (#14782)

This commit is contained in:
Jeroen Demeyer 2019-07-23 12:39:51 +02:00 committed by Łukasz Langa
parent 5dab5e7d24
commit bf8e82f976
10 changed files with 388 additions and 117 deletions

View file

@ -586,6 +586,8 @@ class TestPEP590(unittest.TestCase):
return super().__call__(*args)
calls += [
(dict.update, ({},), {"key":True}, None),
({}.update, ({},), {"key":True}, None),
(MethodDescriptorHeap(), (0,), {}, True),
(MethodDescriptorOverridden(), (0,), {}, 'new'),
(MethodDescriptorSuper(), (0,), {}, True),