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.

classification
Title: python compiler support for with stmt
Type: Stage: resolved
Components: None Versions: Python 2.5
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: nascheme Nosy List: nascheme, nnorwitz
Priority: normal Keywords:

Created on 2006-08-21 23:15 by nnorwitz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
with.diff nnorwitz, 2006-08-21 23:15
Messages (2)
msg29603 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-08-21 23:15
With the attached patch, there are no crashes when
running the test suite.  Still 9 failures

   test_compile test_contextlib test_dis test_grammar
test_inspect
   test_peepholer test_scope test_trace test_with

There are at least 3 that seem to be real issues:

   test_compile test_contextlib test_with

not sure if test_grammar or test_trace are a real
problems or not.

The attached patch is close but not perfect at fixing
the with issue.  The problem is that the STORE_FAST for
the 'as' target is a LOAD_FAST (incorrectly).
msg81324 - (view) Author: Neil Schemenauer (nascheme) * (Python committer) Date: 2009-02-07 00:15
Looks like this has already been fixed in SVN rev 53575.
History
Date User Action Args
2022-04-11 14:56:19adminsetgithub: 43869
2009-02-07 00:15:48naschemesetstatus: open -> closed
resolution: out of date
messages: + msg81324
stage: resolved
2006-08-21 23:15:58nnorwitzcreate