Benjamin Peterson <[EMAIL PROTECTED]> added the comment: On Wed, Aug 20, 2008 at 4:51 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > > Brett Cannon <[EMAIL PROTECTED]> added the comment: > > On Wed, Aug 20, 2008 at 10:29 AM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> >> Benjamin Peterson <[EMAIL PROTECTED]> added the comment: >> >> I don't think the using argument should live in warnings; it's too test >> specific. I recommend we still keep a catch_warning in test_support (or >> even just test_warnings since this seems to be the only use-case). >> > > But decoupling from the core code of the context manager for this is > not straight-forward without mucking around in sys.modules and that is > always a risky thing to do.
Why would you have to much around in sys.modules? > > _______________________________________ > Python tracker <[EMAIL PROTECTED]> > <http://bugs.python.org/issue3602> > _______________________________________ > -- Cheers, Benjamin Peterson "There's no place like 127.0.0.1." _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com