-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
type-bugBug reportBug report
Milestone
Description
I may have stumbled across an issue with the edit_constant changes in #1015, but please correct me if my usage is not correct. The following snippet runs without error on param==2.2.1 but fails on param==2.3.0.
Thank you for your work on this great library!
import param
class P(param.Parameterized):
a = param.Number()
p = P()
# Manually set p.param.a.constant to True
p.param.a.constant = True
assert p.param.a.constant == True
assert P.param.a.constant == False
with param.parameterized.edit_constant(p):
pass
assert p.param.a.constant == True
assert P.param.a.constant == False # Fails with param v2.3.0, passes with param v2.2.1Using Python 3.13 on MacOS M1.
Metadata
Metadata
Assignees
Labels
type-bugBug reportBug report