From: Stefan Behnel Date: Sat, 31 Aug 2013 10:36:58 +0000 (+0200) Subject: include raw_input() in list of builtins that change names in Py3 X-Git-Tag: 0.20b1~350 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00ecb1fd1f0462a0e5e9e201f9058cbc1a83d21c;p=platform%2Fupstream%2Fpython-cython.git include raw_input() in list of builtins that change names in Py3 --HG-- extra : rebase_source : f2f904fd21c1807c0dc51f02fb9d460061862fda --- 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'), }