From 00ecb1fd1f0462a0e5e9e201f9058cbc1a83d21c Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 31 Aug 2013 12:36:58 +0200 Subject: [PATCH] include raw_input() in list of builtins that change names in Py3 --HG-- extra : rebase_source : f2f904fd21c1807c0dc51f02fb9d460061862fda --- Cython/Compiler/Code.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/Code.py b/Cython/Compiler/Code.py index 4577c55..98ddad0 100644 --- a/Cython/Compiler/Code.py +++ b/Cython/Compiler/Code.py @@ -43,6 +43,7 @@ non_portable_builtins_map = { 'unicode' : ('PY_MAJOR_VERSION >= 3', 'str'), 'basestring' : ('PY_MAJOR_VERSION >= 3', 'str'), 'xrange' : ('PY_MAJOR_VERSION >= 3', 'range'), + 'raw_input' : ('PY_MAJOR_VERSION >= 3', 'input'), 'BaseException' : ('PY_VERSION_HEX < 0x02050000', 'Exception'), } -- 2.7.4