1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / lib_pypy / _pypy_interact.py

Author Commit Message Date Builds
Philip Jenvey
2to3 most of lib_pypy except _ctypes/numpypy/pyrepl
Branches
py3k
Amaury Forgeot d'Arc
Add a reminder about the broken pyrepl.
Branches
py3k
Amaury Forgeot d'Arc
Use the new io stack for sys.stdout &friends sys.stdout is not prebuilt anymore - translated code build it in app_main (to get all options & env vars) - untranslated code build it in sys.__init__ (easier for tests)
Branches
py3k
Amaury Forgeot d'Arc
Fixes for applevel interactive code
Branches
py3k
Armin Rigo
Import into _pypy_interact.py the change from code.py to decode the raw string into a unicode string. Fix simple_interact.py to just do the right thing and not encode the unicode string in the first place, by passing an extra keyword argument.
Alex Gaynor
Fix an ImportError.
Vincent Legoll
Fix for FAIL: test_run_module_bug1764407 (test.test_cmd_line.CmdLineTest) The test tries to run "pypy -i" and send input to its stdin via a pipe, which upsets pyrepl because it is not a tty-like file. Fix by only using pyrepl in interactive_console() if stdin is a tty. Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
Dan Villiom Podlaski Christiansen
No-op merge to register the merge done in 0e3099e3cc33 with Mercurial.
Branches
fast-forward
Antonio Cuni
(thanks arigo) obvious typo, it's a bit hard to write a test for it, though
Antonio Cuni
set sys.{ps1,ps2} only when we enter the interactive prompt. There is code around which relies on it (e.g., my sitecustomize.py :-))
Amaury Forgeot d'Arc
Merge from trunk svn merge -r79456:79701 ../trunk
Branches
fast-forward