0.8.0 (#63)
Compared to v0.7.3
- Add
UsingExecWarningwhenexecis used to retrievefuncforargname(). - Remove
NonVariableArgumentError. UseImproperUseErrorinstead. - Add
VarnameErrorandVarnameWarningas root for varname-related exceptions and warnings, respectively. - Default
stricttoTrueforvarname(),helpers.register()andhelpers.Wrapper() - Limit number of context lines for showing where
ImproperUseErrorhappens
Compared to v0.7.0
- Add
UsingExecWarningwhenexecis used to retrievefuncforargname(). - Remove
NonVariableArgumentError. UseImproperUseErrorinstead. - Add
VarnameErrorandVarnameWarningas root for varname-related exceptions and warnings, respectively. - Add
strictmode tovarname(),helpers.register()andhelpers.Wrapper()(#57) - Support the walrus operator (
:=) (#58) - Change
argname()to accept argument names instead of arguments themselves - Remove
pos_onlyargument fromargname() - Add
ignoreargument toargname()to ignore intermediate frames - Limit
VarnameRetrievingErrorto the situations only when the AST node is not able to be retrieved.