From 1b47952fbcaa7873577076474fd3e18201c46d6a Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Fri, 21 Feb 2020 14:32:33 -0800 Subject: [PATCH 1/5] bpo-39719: remove softspace from tempfile.SpooledTemporaryFile --- Lib/tempfile.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/tempfile.py b/Lib/tempfile.py index 448163f04380d5..b27165bb0f203e 100644 --- a/Lib/tempfile.py +++ b/Lib/tempfile.py @@ -749,10 +749,6 @@ def readlines(self, *args): def seek(self, *args): self._file.seek(*args) - @property - def softspace(self): - return self._file.softspace - def tell(self): return self._file.tell() From 7ddab90e32d327ef77e6fa17ea42b8e0e660eb25 Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2020 22:35:56 +0000 Subject: [PATCH 2/5] =?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/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst diff --git a/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst b/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst new file mode 100644 index 00000000000000..196275452033dd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst @@ -0,0 +1 @@ +Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute Python 3. \ No newline at end of file From de7a7ded3e0025b9cc24d3a80842a474e65839fa Mon Sep 17 00:00:00 2001 From: "blurb-it[bot]" <43283697+blurb-it[bot]@users.noreply.github.com> Date: Fri, 21 Feb 2020 22:35:58 +0000 Subject: [PATCH 3/5] =?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/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst diff --git a/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst b/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst new file mode 100644 index 00000000000000..196275452033dd --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst @@ -0,0 +1 @@ +Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute Python 3. \ No newline at end of file From 988ed5ceb282b5a48d75f781074188ed230bc2c1 Mon Sep 17 00:00:00 2001 From: Shantanu Date: Sat, 14 Mar 2020 15:29:04 -0400 Subject: [PATCH 4/5] Update Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst Commit Serhiy's suggested change. Co-Authored-By: Serhiy Storchaka --- .../next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst b/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst index 196275452033dd..5269ce188cd23c 100644 --- a/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst +++ b/Misc/NEWS.d/next/Library/2020-02-21-22-35-57.bpo-39719.2jLy1C.rst @@ -1 +1 @@ -Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute Python 3. \ No newline at end of file +Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute in Python 3. Patch by Shantanu. From 58cb0278cc5ed161a1436fcd817e51dd1575bd4e Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sat, 14 Mar 2020 15:30:34 -0400 Subject: [PATCH 5/5] Remove duplicate news entry --- .../NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst | 1 - 1 file changed, 1 deletion(-) delete mode 100644 Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst diff --git a/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst b/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst deleted file mode 100644 index 196275452033dd..00000000000000 --- a/Misc/NEWS.d/next/Library/2020-02-21-22-35-55.bpo-39719.2jLy1C.rst +++ /dev/null @@ -1 +0,0 @@ -Remove :meth:`tempfile.SpooledTemporaryFile.softspace` as files no longer have the ``softspace`` attribute Python 3. \ No newline at end of file