Message11002

Author jeff.allen
Recipients jeff.allen
Date 2016-12-10.08:17:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1481357872.99.0.0701882134779.issue2538@psf.upfronthosting.co.za>
In-reply-to
Content
Aha!

>>> import json
>>> json.__dict__.keys()
['__path__', '__builtins__', 'scanner', '__author__', 'encoder', '__doc__', 'decoder', '__file__', ...
>>> hasattr(json, '')
True
>>> json.__dict__.keys()
['__path__', '__builtins__', 'scanner', '__author__', 'encoder', '__doc__', 'decoder', '', '__file__', ...
>>>

The nameless attribute seems to be self-inventing (but only for PyModule).
History
Date User Action Args
2016-12-10 08:17:52jeff.allensetmessageid: <1481357872.99.0.0701882134779.issue2538@psf.upfronthosting.co.za>
2016-12-10 08:17:52jeff.allensetrecipients: + jeff.allen
2016-12-10 08:17:52jeff.allenlinkissue2538 messages
2016-12-10 08:17:52jeff.allencreate