Closed buffer closed 7 years ago
What would a subclass of Context be useful for?
I am currently porting a project from PyV8 to v8py. PyV8 defines its JSContext object as a context manager and I already submitted a PR for that (https://github.com/tbodt/v8py/pull/7). In case you do not want to make the Context object a context manager giving the possibility to wrap this feature through subclassing could be useful.
I'm not sure why it would be useful to subclass Context, but there's not really any reason not to allow it.
Codecov Report
77.18% <100%> (ø)
Continue to review full report at Codecov.