Releases: eriknw/innerscope
Releases · eriknw/innerscope
0.7.0
0.7.0a0
0.6.0
0.6.0a0
0.5.1
0.5.0
Release 0.4.1
- Minor bugfix release for
innerself
. Check types more explicitly inscoped_function
.
Release 0.4.0
- Support generators.
- Escape repr text in html_repr.
- Raise if trying to wrap coroutine or async generator function.
- Support
ScopedFunction
as class method (added__get__
). - Add
builtin_names
attribute toScopedFunction
objects. - More efficient reuse of data when binding variables to an existing
ScopedFunction
.
Release 0.3.0
Add support for PyPy! Who else is surprised by this?
Add alternative method for getting the inner scope. Select with method="trace"
in scoped_func
. This may be useful when the default method fails for some reason. Generally, though, the default method (method="bytecode"
) is still preferred. The "trace" method uses sys.settrace
, so it will be slow and may cause havoc if there is another tracer (such as when debugging).
Release 0.2.0
- Add support for Python 3.6 and 3.7.
- Support
func
keyword argument incall
andscope.call
. - From 0.1.0, support defining classes and functions inside a function wrapped by
innerscope
.