Message238063
Idlelib.rpc uses the somewhat arbitrary *strings* '__methods__' and '__attributes__' as private signals in its protocol. They are not object or attribute names, special or otherwise, in the sense used here.
The use of '__methods__' in idlelib.rpc (line 176) harkens back to pre 2.2 days when __methods__ was officially used in the type introspection api. That class attribute was "a list of method names supported by the object.". See PEP 252. Its complement was __members__, a list of non-method attributes (other than itself, I presume). rpc uses '__attributes__' instead. |
|
Date |
User |
Action |
Args |
2015-03-14 00:05:19 | terry.reedy | set | recipients:
+ terry.reedy, georg.brandl, peter.otten, ezio.melotti, eric.araujo, docs@python, martin.panter, serhiy.storchaka, IanLee1521 |
2015-03-14 00:05:19 | terry.reedy | set | messageid: <1426291519.85.0.443432334258.issue23639@psf.upfronthosting.co.za> |
2015-03-14 00:05:19 | terry.reedy | link | issue23639 messages |
2015-03-14 00:05:19 | terry.reedy | create | |
|