[issue13200] Add start, stop and step attributes to range objects

Sven Marnach report at bugs.python.org
Mon Oct 17 16:29:00 CEST 2011


New submission from Sven Marnach <sven at marnach.net>:

As discussed on python-ideas [1], range objects should expose their start, stop and step values as read-only data attributes.  I've attached a patch to this end.

I'll open a separate issue for range comparison.

[1]: http://mail.python.org/pipermail/python-ideas/2011-October/012356.html

----------
components: Interpreter Core
files: range-members
messages: 145701
nosy: smarnach
priority: normal
severity: normal
status: open
title: Add start, stop and step attributes to range objects
type: feature request
Added file: http://bugs.python.org/file23425/range-members

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


More information about the Python-bugs-list mailing list