Alex Groce added the comment:

(to clarify:

0 << N

allocates memory (which can fail, raising MemoryError) based on N.  GMP simply 
returns 0 for any N.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue27870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to