This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author asksol
Recipients asksol, benjamin.peterson, hagen, ncoghlan, rhettinger
Date 2011-07-27.10:02:44
SpamBayes Score 0.10601441
Marked as misclassified No
Message-id <1311760964.66.0.658932598581.issue6288@psf.upfronthosting.co.za>
In-reply-to
Content
How would you replace the following functionality
with the multiple with statement syntax:


    x = (A(), B(), C())
    with nested(*x) as context:
        ....


It seems to me that nested() is still useful for this particular
use case.
History
Date User Action Args
2011-07-27 10:02:44asksolsetrecipients: + asksol, rhettinger, ncoghlan, benjamin.peterson, hagen
2011-07-27 10:02:44asksolsetmessageid: <1311760964.66.0.658932598581.issue6288@psf.upfronthosting.co.za>
2011-07-27 10:02:44asksollinkissue6288 messages
2011-07-27 10:02:44asksolcreate