]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-126298: Don't deduplicate slice constants based on equality (#126398)
authorMichael Droettboom <mdboom@gmail.com>
Thu, 7 Nov 2024 16:39:23 +0000 (11:39 -0500)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 16:39:23 +0000 (16:39 +0000)
commita38e82bd8c249c126ab033c078170b6dea27a619
tree30d94d6b3ac4f1c8ada50988a33bc3ae6656a4f3
parent9357fdcaf0b08dac9396c17e8695b420fad887f8
gh-126298: Don't deduplicate slice constants based on equality (#126398)

* gh-126298: Don't deduplicated slice constants based on equality

* NULL check for PySlice_New

* Fix refcounting

* Fix refcounting some more

* Fix refcounting

* Make tests more complete

* Fix tests
Lib/test/test_compile.py
Objects/codeobject.c