include raw_input() in list of builtins that change names in Py3
authorStefan Behnel <stefan_ml@behnel.de>
Sat, 31 Aug 2013 10:36:58 +0000 (12:36 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Sat, 31 Aug 2013 10:36:58 +0000 (12:36 +0200)
--HG--
extra : rebase_source : f2f904fd21c1807c0dc51f02fb9d460061862fda

Cython/Compiler/Code.py

index 4577c55..98ddad0 100644 (file)
@@ -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'),
     }