chiark / gitweb /
Stamp the module name onto types properly.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 10 Apr 2015 14:19:25 +0000 (15:19 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 20 Apr 2015 11:53:45 +0000 (12:53 +0100)
commitc461c9b380b56a41399e5f540e4bb97cfd9ceffe
tree841a0478dad96b22906468895c8f93cf6b8dbc32
parent2ef393b54f8f17ef9f395a53d499f6c5999c81f7
Stamp the module name onto types properly.

Our types are `dynamic', because the Python code adds extra methods to
them.  Apparently the correct thing to do in such cases is to put the
raw type name in the `tp_name' slot, and stuff the module name into
`tp_dict' by hand.
14 files changed:
algorithms.c
buffer.c
bytestring.c
ec.c
field.c
group.c
key.c
mp.c
passphrase.c
pgen.c
pubkey.c
rand.c
share.c
util.c