summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst
diff options
context:
space:
mode:
authorVo Hoang Long <vohoanglong07@gmail.com>2023-02-21 15:14:41 (GMT)
committerGitHub <noreply@github.com>2023-02-21 15:14:41 (GMT)
commit0d4c7fcd4f078708a5ac6499af378ce5ee8eb211 (patch)
tree8eee1990e04156e58947481ceaf556f8f646b8b0 /Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst
parentc2b85a95a50687a2e5d1873e17266370876e77e9 (diff)
downloadcpython-0d4c7fcd4f078708a5ac6499af378ce5ee8eb211.zip
cpython-0d4c7fcd4f078708a5ac6499af378ce5ee8eb211.tar.gz
cpython-0d4c7fcd4f078708a5ac6499af378ce5ee8eb211.tar.bz2
gh-101936: Update the default value of fp from io.StringIO to io.BytesIO (gh-102100)
Co-authored-by: Long Vo <long.vo@linecorp.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst')
-rw-r--r--Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst b/Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst
new file mode 100644
index 0000000..55841da
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2023-02-21-07-15-41.gh-issue-101936.QVOxHH.rst
@@ -0,0 +1,2 @@
+The default value of ``fp`` becomes :class:`io.BytesIO` if :exc:`~urllib.error.HTTPError`
+is initialized without a designated ``fp`` parameter. Patch by Long Vo.