[issue9896] Introspectable range objects

Daniel Urban report at bugs.python.org
Sun Sep 19 11:44:44 CEST 2010


Daniel Urban <urban.dani+py at gmail.com> added the comment:

> What is the use case for this?

The basic idea was, that in Python almost everything is introspectable, so why range objects aren't.  It was pretty straightforward to implement it, so I've done it (actually when I was working on rangeobject.c, I was surprised to see that these members aren't available from python code).
But if this isn't needed, I'm absolutely ok with that.  I think this would be a nice to have feature, but of course not necessary.  Also, if it violates the moratorium (I don't know), then of course this sould be at least postponed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9896>
_______________________________________


More information about the Python-bugs-list mailing list