[Python-Dev] What type of object mmap.read_byte should return on py3k?
Victor Stinner
victor.stinner at haypocalc.com
Sat Feb 28 15:47:18 CET 2009
Le Saturday 28 February 2009 15:06:38 Hirokazu Yamamoto, vous avez écrit :
> I greped py3k source tree with "c", I found another Py_BuildValue("c" in
> curse module. But this function returns unicode in else clause, so
> probably this is correct usage.
I used different regex on to catch "...c..." with Py_BuildValue and
PyArg_Parse... because a function may have other arguments or specify the
function name with "...:name":
http://bugs.python.org/issue5391
It looks like msvcrt.putch(char) and msvcrt.ungetch(char) use the wrong types.
--
Victor Stinner aka haypo
http://www.haypocalc.com/blog/
More information about the Python-Dev
mailing list