]> granicus.if.org Git - python/commit
As discussed in issue 1700288:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 14 Jan 2008 00:22:44 +0000 (00:22 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 14 Jan 2008 00:22:44 +0000 (00:22 +0000)
commit08ccf202e606a066668f4ef85df9a9c0d07e1ba1
tree391a2f89a2d8c159991ac03ad2bd78a93db68311
parentd1c131a6e30f7777fe65f6b4fa910150f647b5f5
As discussed in issue 1700288:
ctypes takes some liberties when creating python types: it modifies the types'
__dict__ directly, bypassing all the machinery of type objects which deal with
special methods.  And this broke recent optimisations of method lookup.
Now we try to modify the type with more "official" functions.
Modules/_ctypes/_ctypes.c
Modules/_ctypes/stgdict.c