title: Python - Datetime not accounting for leap second properly?
body: <p>I am parsing some data that has the leapsecond timestampe datetime <code>2012-06-30T23:59:60.209215</code>. I used following code to parse that string and convert to a datetime object:</p>
  
  <pre><code>    nofrag, frag = t.split('.')
      nofrag_dt = datetime.datetime.strptime(nofrag, "%Y-%m-%dT%H:%M:%S")
      dt = nofrag_dt.replace(microsecond=int(frag))
  </code></pre>
  
  <p>Python documentation claims that this shouldn't be an issue as <code>%S</code> accepts <code>[0, 61]</code>. But, I get this error with the above timestamp </p>
  
  <pre><code>nofrag_dt = datetime.datetime.strptime(nofrag, "%Y-%m-%dT%H:%M:%S")
  ValueError: second must be in 0..59
  </code></pre>
  
  <p>Thanks</p>