[Python-Dev] with-statement heads-up
Guido van Rossum
guido at python.org
Tue Feb 28 18:34:35 CET 2006
More information about the Python-Dev mailing list
Tue Feb 28 18:34:35 CET 2006
- Previous message: [Python-Dev] 2.4.3 for end of March?
- Next message: [Python-Dev] with-statement heads-up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 simple (I believe) but requires updating lots of unit tests. It'll be a while. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
- Previous message: [Python-Dev] 2.4.3 for end of March?
- Next message: [Python-Dev] with-statement heads-up
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list