title: python-ValueError: invalid literal for int() with base 2
body: <p>I am getting error in following lines. error is not recurring but only sometimes </p>
  
  <pre><code>x,y are huge numbers of 2048 bits
  z=bin(x)+bin(y)
  z=int(z,2)
  
  ValueError: invalid literal for int() with base 2: '10010101101001011011000000001111001110111110000100101000000011111111100000111010111011101111110010001101101001101000100000001100010011000010100000110100100001010110011111101101000101101001011001100110'
  </code></pre>