This repository was archived by the owner on Oct 21, 2022. It is now read-only.

Description
When printing to stderr, nothing shows up in the console.
import sys
print >> sys.stderr, "test"
import sys
sys.stderr.write("test2")
Both of these ways work if you replace stderr with stdout.
This raises an error for both stderr and stdout:
from __future__ import print_function
print('spam', file=sys.stderr)
Traceback (most recent call last):
File "~/Library/Application Support/LightTable/plugins/Python/py-src/ltmain.py", line 267, in ipyEval
compile(ensureUtf(code), ensureUtf(data[2]["name"]), 'exec')
File "test.py", line 9
print("test", file=sys.stdout)
^
SyntaxError: invalid syntax