Get index values from slice objects in python
<p>Given a slice object 
<code>slice(1, 100, None)</code>
How can I get a a tuple / list <code>(1,100,None)</code> without parsing the string representation of the slice object. With the string representation, it's fairly obvious but is there a way to get these values from the object itself?</p>