You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
PyFunction_New() and type_new() both simply lookup the __name__ of the global scope in which a function or class is defined in order to determine its __module__. So we can do a better job of ensuring __module__ is set correctly by simply overriding __name__ before defining any functions or classes. Works identically in Python 3. |
9 years ago | |
|---|---|---|
| docs | 9 years ago | |
| econtext | 9 years ago | |
| examples | 9 years ago | |
| tests | 9 years ago | |
| todo | 9 years ago | |
| .gitignore | 10 years ago | |
| preamble_size.py | 9 years ago | |
| setup.py | 10 years ago | |