[issue27870] Left shift of zero allocates memory

R. David Murray report at bugs.python.org
Fri Aug 26 17:38:51 EDT 2016


R. David Murray added the comment:

If it raises a MemoryError, then it is working as designed.  Returning 0 would be the wrong answer, so I don't understand why GMP would do that.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27870>
_______________________________________


More information about the Python-bugs-list mailing list