Use "default" as default value for list or dictionary arguments
We previously used None
as default value for list and dictionary arguments to initialize an Instrument
instance (in particular, noise levels). This is a very common Python practice to prevent issues with referring to a unique object that persists in memory between function calls, but might confuse the user by thinking that the noises are disabled.
We propose to change it to 'default'
, as introduced by !41 (merged).