News for hackers. Stuff that matters.
Re:Grumpy: Go running Python by emmelaich on Wednesday January 04, 2017 @07:28PM (#13323586)
Sure, but that works without from `__future__ import print_function` in Python2 as well.

But it gives different output; the print() prints a tuple whereas the function print() prints a newline.

Also compare print(1) and print(1,2) with and without the __future__ import.

Re:Grumpy: Go running Python by weberc2 on Wednesday January 04, 2017 @07:51PM (#13323713)
Oh, weird. I could have sworn I've seen errors for using parens with `print` in Python 2...