Releases: pwwang/python-varname
Releases · pwwang/python-varname
0.6.0 (#39)
- Changed:
Wrapper
,register
anddebug
moved tovarname.helpers
- Argument
caller
changed toframe
across all APIs ignore
accepting module, filename, function, (function, num_decorators), (module, qualname) and (filename, qualname)
- Removed:
inject
(Usehelpers.regiester
instead)inject_varname
(Usehelpers.regiester
instead)namedtuple
- Added:
- Arguments
frame
andignore
toWrapper
helpers.register
as a decorator for functions
- Arguments
Pump to 0.5.6 (#38)
- Add
ignore
argument tovarname
to ignore frames that will be ignored bycaller
- Deprecate
inject_varname
, useregister
instead
0.5.5: Deprecate inject and introduce register to register classes (#30)
- Deprecate
inject
and useinject_varname
to decorate classes instead.
0.5.4
0.5.3: Add a debug function to print variable name and value together. (#27)
- Add
debug
function - Deprecate
namedtuple
(will be removed in0.6.0
)
pump to 0.5.2 (#26)
- Move messaging of weird nameof calls from _bytecode_nameof to nameof.
- Disallow full to be used when _bytecode_nameof needs to be invoked.