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.
There were two problems with detection and handling of class methods as call targets in Python 3: * Methods no longer define `im_self` -- this is now only `__self__` * The `types` module no longer defines a `ClassType` The universally-compatible (v2.6+) solution was to switch to using the `inspect` module -- whose interface has been stable -- and to checking the method attribute `__self__`. (It doesn't hurt that `inspect` checks are more brief and we now no longer need the `types` module here.) |
7 years ago | |
|---|---|---|
| .github | 8 years ago | |
| .travis | 7 years ago | |
| ansible_mitogen | 7 years ago | |
| docs | 7 years ago | |
| examples | 8 years ago | |
| mitogen | 7 years ago | |
| tests | 7 years ago | |
| .gitignore | 8 years ago | |
| .lgtm.yml | 8 years ago | |
| .travis.yml | 7 years ago | |
| LICENSE | 8 years ago | |
| README.md | 8 years ago | |
| dev_requirements.txt | 8 years ago | |
| preamble_size.py | 7 years ago | |
| run_tests | 8 years ago | |
| setup.cfg | 8 years ago | |
| setup.py | 8 years ago | |
| tox.ini | 8 years ago | |