title: Python sqrt limit for very large numbers?
body: <p>I'm working with very large numbers (1,000,000 digits) and I need to calculate their square root. I seem to be hitting on a limit in my code.</p>
  <pre><code>y = 10**309
  x = y**0.5
  print(x)
  </code></pre>
  <p>And I'm getting this error:</p>
  <pre><code>x = y**0.5
  OverflowError: int too large to convert to float
  </code></pre>
  <p>The code works till 10**308. But beyond that it seems broken. I've checked this in command line as well. Same error. Can someone please help me?</p>
  <p>If this is a Python limit, is there an alternate method I could use?</p>