Applied patch #1754273 and #1754271 from Thomas Glee
The patches are adding deprecation warnings for back ticks and <>
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 4883f46..432f94f 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -16,6 +16,7 @@
#include "fileobject.h"
#include "codecs.h"
#include "abstract.h"
+#include "pydebug.h"
#endif /* PGEN */
extern char *PyOS_Readline(FILE *, FILE *, char *);
@@ -982,7 +983,15 @@
break;
case '<':
switch (c2) {
- case '>': return NOTEQUAL;
+ case '>':
+ {
+#ifndef PGEN
+ if (Py_Py3kWarningFlag)
+ PyErr_WarnEx(PyExc_DeprecationWarning,
+ "<> not supported in 3.x", 1);
+#endif
+ return NOTEQUAL;
+ }
case '=': return LESSEQUAL;
case '<': return LEFTSHIFT;
}