[Python-Dev] What type of object mmap.read_byte should return on py3k?

Josiah Carlson josiah.carlson at gmail.com
Thu Mar 5 09:00:31 CET 2009


On Sun, Mar 1, 2009 at 10:45 AM, Hirokazu Yamamoto
<ocean-city at m2.ccsnet.ne.jp> wrote:
> I uploaded the patch with choice (a)
> http://bugs.python.org/file13215/py3k_mmap_and_bytes.patch
> If (b) is suitable, I'll rewrite the patch.
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/josiah.carlson%40gmail.com
>

Has anyone been using mmap in python 3k to know what is more
intuitive?  When I was using mmap in python 2.4, I never used the
read/write methods, I stuck with slicing, which was very convenient
with 2.4 non-unicode strings.  I don't really have an intuition on 3.x
bytes.

 - Josiah


More information about the Python-Dev mailing list