On 2/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> On 2/28/06, Mike Bland <[EMAIL PROTECTED]> wrote:
> > On 2/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> > > I just realized that there's a bug in the with-statement as currently
> > >
On 2/28/06, Guido van Rossum <[EMAIL PROTECTED]> wrote:
> I just realized that there's a bug in the with-statement as currently
> checked in. __exit__ is supposed to re-raise the exception if there
> was one; if it returns normally, the finally clause is NOT to re-raise
> it. The fix is relatively
With Neal Norwitz's help, I've submitted an initial patch to implement
the "with" statement from PEP 343 (SourceForge request ID 1435715).
There is a little more work to be done (on the doc especially), and I
have a couple of questions written up on the SourceForge page, but the
code works to the