summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2020-08-14 15:18:24 (GMT)
committerGitHub <noreply@github.com>2020-08-14 15:18:24 (GMT)
commit33d3c64095bcdf9066a3441f6dda5d2e2f4118a8 (patch)
tree5faf488c6e49703df2bdb74c546d31a22b168959 /Misc
parent7c288413db8c2b84dd476b0c8a19f85110d99a2f (diff)
downloadcpython-33d3c64095bcdf9066a3441f6dda5d2e2f4118a8.zip
cpython-33d3c64095bcdf9066a3441f6dda5d2e2f4118a8.tar.gz
cpython-33d3c64095bcdf9066a3441f6dda5d2e2f4118a8.tar.bz2
bpo-41025: Fix subclassing for zoneinfo.ZoneInfo (GH-20965) (GH-21876)
Prior to this change, attempting to subclass the C implementation of zoneinfo.ZoneInfo gave the following error: TypeError: unbound method ZoneInfo.__init_subclass__() needs an argument https://bugs.python.org/issue41025 (cherry picked from commit 87d8287865e5c9f137f6b5cf8c34c2c509eb5e9d) Co-authored-by: Paul Ganssle <paul@ganssle.io>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-06-18-10-34-59.bpo-41025.elf_nz.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-06-18-10-34-59.bpo-41025.elf_nz.rst b/Misc/NEWS.d/next/Library/2020-06-18-10-34-59.bpo-41025.elf_nz.rst
new file mode 100644
index 0000000..21e184d
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-06-18-10-34-59.bpo-41025.elf_nz.rst
@@ -0,0 +1,2 @@
+Fixed an issue preventing the C implementation of :class:`zoneinfo.ZoneInfo`
+from being subclassed.