From 46c686fc40a4cababf83f89e5a5bf867a06c647c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Fran=C3=A7ois=20Natali?= Date: Sun, 15 Dec 2013 19:09:00 +0100 Subject: [PATCH 1/2] Issue #19965: Make sure that Python-ast.h is properly taken into account in the makefile. --- Makefile.pre.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index a6aa9757768..e97b07b24b1 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -848,7 +848,8 @@ PYTHON_HEADERS= \ $(srcdir)/Include/warnings.h \ $(srcdir)/Include/weakrefobject.h \ pyconfig.h \ - $(PARSER_HEADERS) + $(PARSER_HEADERS) \ + $(AST_H) $(LIBRARY_OBJS) $(MODOBJS) Modules/python.o: $(PYTHON_HEADERS) From e9b034b72d490af68d40331ad21765eb6f036870 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 16 Dec 2013 13:27:16 +0100 Subject: [PATCH 2/2] Issue #17919: add missing import of USHRT_MAX --- Lib/test/test_devpoll.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_devpoll.py b/Lib/test/test_devpoll.py index c7bacf89a21..819d9dc8832 100644 --- a/Lib/test/test_devpoll.py +++ b/Lib/test/test_devpoll.py @@ -4,6 +4,7 @@ import os, select, random, unittest, sys from test.support import TESTFN, run_unittest +from _testcapi import USHRT_MAX try: select.devpoll