Add __future__ import for print_function. It's a no-op in 3.0, but it needs to not be a syntax error.
Closes issue 2436.
diff --git a/Python/future.c b/Python/future.c
index 80a3006..d6333ff 100644
--- a/Python/future.c
+++ b/Python/future.c
@@ -33,6 +33,8 @@
continue;
} else if (strcmp(feature, FUTURE_WITH_STATEMENT) == 0) {
continue;
+ } else if (strcmp(feature, FUTURE_PRINT_FUNCTION) == 0) {
+ continue;
} else if (strcmp(feature, "braces") == 0) {
PyErr_SetString(PyExc_SyntaxError,
"not a chance");