This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Dave Hibbitts, RazerM, eryksun, georg.brandl, mark.dickinson, paul.moore, pitrou, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2016-02-24.15:30:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> mmap.mmap(-1, 2**31 + 5) could be used here.

Yeah, I hesitated to use mmap, but I'm not really a big fan of using directly a mmap object in test_descr. Unit tests are supposed to only test one thing.

> If the pages are never touched it won't increase the working set size. It merely maps the address range with demand-zero pages.

It depends on the Kernel configuration. On Solaris, overcommit is disable by default.

I prefer to use a regular Python str. Or maybe use a custom Python object for which we can control the output of __len__()?
Date User Action Args
2016-02-24 15:30:36vstinnersetrecipients: + vstinner, georg.brandl, paul.moore, mark.dickinson, pitrou, tim.golden, zach.ware, serhiy.storchaka, eryksun, steve.dower, RazerM, Dave Hibbitts
2016-02-24 15:30:36vstinnersetmessageid: <>
2016-02-24 15:30:36vstinnerlinkissue26423 messages
2016-02-24 15:30:36vstinnercreate