[issue5391] mmap: read_byte/write_byte and object type

Hirokazu Yamamoto report at bugs.python.org
Tue Mar 17 14:39:59 CET 2009


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

>In the python-dev thread, most people agree to use bytes in mmap. Did 
>anyone reviewed the patch?

Well, there is no conclusion which of your choices (a or b) is preferred.
http://www.nabble.com/What-type-of-object-mmap.read_byte-should-return-on-py3k--tt22261245.html#a22261245
I opened similar issue for msvcrt in issue5410.

>Can you commit it to py3k than then to the 3.0 branch?
If the patch is acceptable, yes. This patch will change behavior of
functions, I don't think I can commit this without review.

----------

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


More information about the Python-bugs-list mailing list