A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-January/084923.html below:

[Python-Dev] improvements for mmap

[Python-Dev] improvements for mmap [Python-Dev] improvements for mmapNeal Becker ndbecker2 at gmail.com
Thu Jan 8 17:00:52 CET 2009
I'd like to suggest some improvements from mmap

1) mmap assign to slice only accepts a string.  This is unfortunate, because AFAIK a string can only be created by copying data, and this is wasteful for large data transfers.  mmap should accept any object supporting buffer protocol as well as string.

2) buffer (mmap_obj) gives a read_only buffer.  There should be a way to make this read_write.

3) mmap_obj does not support weak ref.

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4