Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 36926:fc10ff322df1 legacy-trunk
Um, I thought I'd already checked this in.
Anyway, this is the changes to the with-statement
so that __exit__ must return a true value in order
for a pending exception to be ignored.
The PEP (343) is already updated.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 10 Mar 2006 02:28:35 +0000 |
| parents | 9eb24f92a784 |
| children | 49c6eb688906 3b7b295cca90 |
line wrap: on
line diff
--- a/Python/import.c Fri Mar 10 02:04:28 2006 +0000 +++ b/Python/import.c Fri Mar 10 02:28:35 2006 +0000 @@ -55,6 +55,7 @@ Python 2.5a0: 62071 Python 2.5a0: 62081 (ast-branch) Python 2.5a0: 62091 (with) + Python 2.5a0: 62092 (changed WITH_CLEANUP opcode) . */ #define MAGIC (62092 | ((long)'\r'<<16) | ((long)'\n'<<24))
