[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-41025: Fix subclassing for zoneinfo.ZoneInfo by pganssle · Pull Request #20965 · python/cpython

the-knights-who-say-ni

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Aug 14, 2020

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 87d8287)

Co-authored-by: Paul Ganssle <paul@ganssle.io>

pganssle added a commit that referenced this pull request

Aug 14, 2020
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 87d8287)

Co-authored-by: Paul Ganssle <paul@ganssle.io>

shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request

Aug 20, 2020
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

xzy3 pushed a commit to xzy3/cpython that referenced this pull request

Oct 18, 2020
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