From cbf43e0bb5e01673f5fd2f280785f70b87ca49e1 Mon Sep 17 00:00:00 2001 From: Elian Date: Fri, 28 Aug 2020 16:43:29 -0300 Subject: [PATCH 1/2] bpo-41657: Refactor for variable OBJECT_OBJS variable in Makefile --- Makefile.pre.in | 45 +-------------------------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 0a19313ea99397..938c8b0b346fc5 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -385,50 +385,7 @@ PYTHON_OBJS= \ ########################################################################## # Objects -OBJECT_OBJS= \ - Objects/abstract.o \ - Objects/accu.o \ - Objects/boolobject.o \ - Objects/bytes_methods.o \ - Objects/bytearrayobject.o \ - Objects/bytesobject.o \ - Objects/call.o \ - Objects/capsule.o \ - Objects/cellobject.o \ - Objects/classobject.o \ - Objects/codeobject.o \ - Objects/complexobject.o \ - Objects/descrobject.o \ - Objects/enumobject.o \ - Objects/exceptions.o \ - Objects/genericaliasobject.o \ - Objects/genobject.o \ - Objects/fileobject.o \ - Objects/floatobject.o \ - Objects/frameobject.o \ - Objects/funcobject.o \ - Objects/interpreteridobject.o \ - Objects/iterobject.o \ - Objects/listobject.o \ - Objects/longobject.o \ - Objects/dictobject.o \ - Objects/odictobject.o \ - Objects/memoryobject.o \ - Objects/methodobject.o \ - Objects/moduleobject.o \ - Objects/namespaceobject.o \ - Objects/object.o \ - Objects/obmalloc.o \ - Objects/picklebufobject.o \ - Objects/rangeobject.o \ - Objects/setobject.o \ - Objects/sliceobject.o \ - Objects/structseq.o \ - Objects/tupleobject.o \ - Objects/typeobject.o \ - Objects/unicodeobject.o \ - Objects/unicodectype.o \ - Objects/weakrefobject.o +OBJECT_OBJS=$(patsubst %.c, %.o, $(wildcard Objects/*.c)) ########################################################################## # objects that get linked into the Python library From 4da8a099c8d056bdad903b4c2a080226e779bba7 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2020 23:39:05 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9C=F0=9F=A4=96=20Added=20by=20blu?= =?UTF-8?q?rb=5Fit.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NEWS.d/next/Build/2020-08-28-23-39-04.bpo-41657.4t3CEO.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/Build/2020-08-28-23-39-04.bpo-41657.4t3CEO.rst diff --git a/Misc/NEWS.d/next/Build/2020-08-28-23-39-04.bpo-41657.4t3CEO.rst b/Misc/NEWS.d/next/Build/2020-08-28-23-39-04.bpo-41657.4t3CEO.rst new file mode 100644 index 00000000000000..4e88bc7d77595b --- /dev/null +++ b/Misc/NEWS.d/next/Build/2020-08-28-23-39-04.bpo-41657.4t3CEO.rst @@ -0,0 +1,3 @@ +Done a refactor in the variable OBJECT_OBJS inside Makefile.pre.in. + +This change was done because a redundancy found in this variable. And it will benefit the next builds if a source file is created inside the Object folder, because this variable will seek this file automatically. \ No newline at end of file