[issue5391] mmap: read_byte/write_byte and object type

"Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za "Martin v. Löwis" <report@bugs.python.org> at psf.upfronthosting.co.za
Tue Mar 17 22:10:24 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Oh, I though that the question was about bytes vs str :-/ Ocean-city 
> and I prefer the solution (a). And you Martin?

I also think that ints should be used to represent individual bytes.

However, your list of alternatives is incomplete: we *could* also change
the "c" code to accept and produce int - then mmapmodule would not need
to change at all.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5391>
_______________________________________


More information about the Python-bugs-list mailing list