Christian Heimes added the comment: Yes, it can fail for multiple reasons: wrong type, ref count != 1, realloc() fails to allocate a smaller area.
---------- nosy: +christian.heimes _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28187> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com