[pypy-commit] pypy py3k: Another fix in termios
amauryfa
noreply at buildbot.pypy.org
Tue Jan 17 20:27:31 CET 2012
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r51416:03901e509c25
Date: 2012-01-17 20:25 +0100
http://bitbucket.org/pypy/pypy/changeset/03901e509c25/
Log: Another fix in termios
diff --git a/pypy/module/termios/interp_termios.py b/pypy/module/termios/interp_termios.py
--- a/pypy/module/termios/interp_termios.py
+++ b/pypy/module/termios/interp_termios.py
@@ -46,7 +46,7 @@
iflag, oflag, cflag, lflag, ispeed, ospeed, cc = tup
l_w = [space.wrap(i) for i in [iflag, oflag, cflag, lflag, ispeed, ospeed]]
# last one need to be chosen carefully
- cc_w = [space.wrap(i) for i in cc]
+ cc_w = [space.wrapbytes(i) for i in cc]
if lflag & termios.ICANON:
cc_w[termios.VMIN] = space.wrap(ord(cc[termios.VMIN][0]))
cc_w[termios.VTIME] = space.wrap(ord(cc[termios.VTIME][0]))
More information about the pypy-commit
mailing list