
Senthil Kumaran added the comment: I am going to vote for "not a bug" here. From the context is it understood that the `ContextBaseClass` is to be provided by the user.
Existing context managers that already have a base class can be extended by using ContextDecorator as a mixin class:
The idea here is the illustrate the Mixin possibility with a Base class and not to provide a full example with Base class code as well. @Marco, also not a good ticket add more doc strings to this module.rst. If the docs of those can be improved, they can done separately, concentrating on all the possible improvements. ---------- nosy: +orsenthil resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue29134> _______________________________________
participants (1)
-
Senthil Kumaran