0.8.0 (#63)
Compared to v0.7.3
- Add
UsingExecWarning
whenexec
is used to retrievefunc
forargname()
. - Remove
NonVariableArgumentError
. UseImproperUseError
instead. - Add
VarnameError
andVarnameWarning
as root for varname-related exceptions and warnings, respectively. - Default
strict
toTrue
forvarname()
,helpers.register()
andhelpers.Wrapper()
- Limit number of context lines for showing where
ImproperUseError
happens
Compared to v0.7.0
- Add
UsingExecWarning
whenexec
is used to retrievefunc
forargname()
. - Remove
NonVariableArgumentError
. UseImproperUseError
instead. - Add
VarnameError
andVarnameWarning
as root for varname-related exceptions and warnings, respectively. - Add
strict
mode tovarname()
,helpers.register()
andhelpers.Wrapper()
(#57) - Support the walrus operator (
:=
) (#58) - Change
argname()
to accept argument names instead of arguments themselves - Remove
pos_only
argument fromargname()
- Add
ignore
argument toargname()
to ignore intermediate frames - Limit
VarnameRetrievingError
to the situations only when the AST node is not able to be retrieved.