R. David Murray <rdmur...@bitdance.com> added the comment:

I don't think it is worthwhile to jump through hoops to avoid calling the 
special methods.  Your patch also creates an unnecessary dependency on the 
internal implementation of EnvironmentVarGuard (ie: the fact that currently 
__enter__ happens to return self...this is *not* part of EnvironmentVarGuard's 
interface contract).

----------
stage: unit test needed -> patch review

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9553>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to