projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5486d87
)
include raw_input() in list of builtins that change names in Py3
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 31 Aug 2013 10:36:58 +0000
(12:36 +0200)
committer
Stefan 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
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Code.py
b/Cython/Compiler/Code.py
index
4577c55
..
98ddad0
100644
(file)
--- 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'),
}