[issue22193] Add _PySys_GetSizeOf()

Serhiy Storchaka report at bugs.python.org
Fri Aug 15 11:32:07 CEST 2014


Serhiy Storchaka added the comment:

Here is a patch which adds overflow check. The question is: should sys.getsizeof with the default argument catch OverflowError in additional to TypeError and replace it by default value?

----------
Added file: http://bugs.python.org/file36376/_PySys_GetSizeOf_overflow.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22193>
_______________________________________


More information about the Python-bugs-list mailing list