-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Effort: Loweasy taskeasy taskNeeds: TestHey, it compiles! Ship it!Hey, it compiles! Ship it!Priority: HighA blocking bug or an important featureA blocking bug or an important featureType: BugSomething isn't workingSomething isn't working
Description
The union of a frozendict with | should again result in a frozendict, but does actually result in a mutable dict.
OS version: macOS 13.5.2
frozendict version: 2.3.8
Python3 version (python3 -V -V): Python 3.11.5 (main, Aug 24 2023, 15:18:16) [Clang 14.0.3 (clang-1403.0.22.14.1)]
Steps to reproduce:
In [1]: from frozendict import frozendict
In [2]: a = frozendict({1: 2})
In [3]: type(a | a)
Out[3]: dictExpected result:
frozendict
Actual result:
dict
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Effort: Loweasy taskeasy taskNeeds: TestHey, it compiles! Ship it!Hey, it compiles! Ship it!Priority: HighA blocking bug or an important featureA blocking bug or an important featureType: BugSomething isn't workingSomething isn't working