Control: forwarded -1 https://bitbucket.org/pypy/pypy/issues/2934/interactive-shell-imports-codepy-from Control: tag -1 upstream
Hi Witold (2018.06.18_01:10:57_+0200) I've forwarded this upstream. This is caused by the "code.py" in your current directory, which the REPL is importing, instead of the stdlib "code" module. That's a pypy bug. However, naming a python script the same as an stdlib module is always going to be problematic. SR -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272