[Python-ideas] inspect.getclassdistance

Alexis Lee alexisl at hp.com
Mon Jan 5 15:35:28 CET 2015

Paul Moore said on Mon, Jan 05, 2015 at 02:25:34PM +0000:
> On 5 January 2015 at 14:05, Alexis Lee <alexisl at hp.com> wrote:
> >> When would it ever be interesting?
> >
> > The usecase is here (comments at line 861, also see 866-894):
> >     https://review.openstack.org/#/c/142835/5/nova/api/openstack/compute/servers.py
> Why is it not simply acceptable for you to use your code? I presume
> you are implying that this would be useful in the stdlib, but you'd
> need far more than a single use case to justify that.

Well, that's it basically. I thought I'd offer it - if it isn't
considered generally useful (and the reactions so far imply it isn't,
tbh) it's no skin off my nose. I was just surprised it wasn't already

Nova Engineer, HP Cloud.  AKA lealexis, lxsli.

More information about the Python-ideas mailing list