Mark Dickinson added the comment:
See https://www.collinsdictionary.com/dictionary/english/would-rather for an
example:
> I have no information one way or the other, but I would rather he do it
> than not do it.
--
nosy: +mark.dickinson
resolution: -> not a bug
stage: -> resolved
Josh Rosenberg added the comment:
"than" is correct; "giving up" in this context would mean "not even trying to
allocate the memory and just preemptively raising OverflowError, like
non-integer numeric types with limited ranges". Rather than giving up that way,
it chooses to try to allocate
New submission from David Lin :
https://docs.python.org/3/library/exceptions.html
exception OverflowError
Raised when the result of an arithmetic operation is too large to be
represented. This cannot occur for integers (which would rather raise
MemoryError than give up). However, for