Cannot cache Python objects as static data as causes problems when have multiple interpreters.
The __module__ and __doc__ attributes can be lazily evaluated in C code using get/set functions as in Python version.
Make compilation of extensions optional through an environment variable.
Propagate __name__ and __qualname__ updates as well as saving them against the wrapper.