Author: Amaury Forgeot d'Arc <[email protected]>
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]))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to