On Fri, 8 Jul 2016 05:38 pm, Peter Otten wrote: [...] >> Is this a thing that can be fixed with a commensurate amount of effort? > > There is a test > > if not object: > raise ImportError('no Python documentation found for %r' % thing) > > in the pydoc module. So all you need is to ensure that your Registry > evaluates to True in a boolean context, e. g. by putting something into > it:
Nicely spotted! I had seen the test but hadn't realised the implications. -- Steven “Cheer up,” they said, “things could be worse.” So I cheered up, and sure enough, things got worse. -- https://mail.python.org/mailman/listinfo/python-list