title: Slicing a list in Python without generating a copy
body: <p>I have the following problem. </p>
  
  <blockquote>
    <p>Given a list of integers <code>L</code>, I need to generate all of the sublists <code>L[k:]</code> <code>for k in [0, len(L) - 1]</code>, <strong>without generating copies</strong>. </p>
  </blockquote>
  
  <p>How do I accomplish this in Python? With a buffer object somehow?</p>