Benjamin Peterson added the comment: It's Latin 1, so the chars only use one byte:
>>> sys.getsizeof("üü") - sys.getsizeof("ü") 1 On Wed, Oct 15, 2014, at 13:46, Serhiy Storchaka wrote: > > Serhiy Storchaka added the comment: > > > It's only 341 MB. > > It's 2**32//12*2 ~ 683 MiB for original string (but I'm not sure that > non- > ASCII string is needed for this test) + 2**32 = 4GiB if the test will > fail for > some reason. Some buildbots AFAIK have memory less than 683 MiB. > > ---------- > > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue22643> > _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22643> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com