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 cool-RR
Recipients cool-RR, eric.smith, xtreak
Date 2018-10-11.04:57:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539233866.17.0.788709270274.issue34953@psf.upfronthosting.co.za>
In-reply-to
Content
There are a few ways we can go with this, depending on how verbose we want to be and how willing we are to make calls to the data. Here are a few pieces of information we could expose:

 - Length
 - Whether it's a file or anonymous memory
 - The entire contents
 - The clipped contents
 - Whether it's opened or closed
 - The access type

So here's an example:

    <mmap.mmap object; length=514 access=ACCESS_READ>

And another: 

    <mmap.mmap object; length=514 content=b'This is my' ... b'file.'>

I don't know whether we're able to include the file name on there, that would be nice.
History
Date User Action Args
2018-10-11 04:57:46cool-RRsetrecipients: + cool-RR, eric.smith, xtreak
2018-10-11 04:57:46cool-RRsetmessageid: <1539233866.17.0.788709270274.issue34953@psf.upfronthosting.co.za>
2018-10-11 04:57:46cool-RRlinkissue34953 messages
2018-10-11 04:57:45cool-RRcreate