This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients IanLee1521, docs@python, eric.araujo, ezio.melotti, georg.brandl, martin.panter, peter.otten, serhiy.storchaka, terry.reedy
Date 2015-03-14.00:05:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426291519.85.0.443432334258.issue23639@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-03-14 00:05:19terry.reedysetrecipients: + terry.reedy, georg.brandl, peter.otten, ezio.melotti, eric.araujo, docs@python, martin.panter, serhiy.storchaka, IanLee1521
2015-03-14 00:05:19terry.reedysetmessageid: <1426291519.85.0.443432334258.issue23639@psf.upfronthosting.co.za>
2015-03-14 00:05:19terry.reedylinkissue23639 messages
2015-03-14 00:05:19terry.reedycreate