]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112451: Prohibit subclassing of datetime.timezone. (#114190)
authorMariusz Felisiak <felisiak.mariusz@gmail.com>
Fri, 26 Jan 2024 08:33:13 +0000 (09:33 +0100)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 08:33:13 +0000 (09:33 +0100)
commit456e274578dc9863f42ab24d62adc0d8c511b50f
tree48e67a314ec95efe6bf710f982ea9238e4b0a610
parentb69548a0f52418b8a2cf7c7a885fdd7d3bfb1b0b
gh-112451: Prohibit subclassing of datetime.timezone. (#114190)

This is consistent with C-extension datetime.timezone.
Lib/_pydatetime.py
Lib/test/datetimetester.py
Misc/NEWS.d/next/Library/2024-01-24-20-11-46.gh-issue-112451.7YrG4p.rst [new file with mode: 0644]