News for hackers. Stuff that matters.
Re:No-op statements syntactically valid only since Python X.Y by tyingq on Monday June 06, 2022 @09:44AM (#31640341)
The file=sys.stderr came with Python 3. Because of that, I tend to see sys.stderr.write("foo\n") more often.
Re:No-op statements syntactically valid only since Python X.Y by jerdfelt on Monday June 06, 2022 @11:45AM (#31641964)
Python 2 was even more terse with it's print statement

    print >>sys.stderr, "foo"