[ python-Bugs-1544277 ] python compiler support for with stmt

SourceForge.net noreply at sourceforge.net
Tue Aug 22 01:15:59 CEST 2006


Bugs item #1544277, was opened at 2006-08-21 16:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1544277&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Neil Schemenauer (nascheme)
Summary: python compiler support for with stmt

Initial Comment:
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).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1544277&group_id=5470


More information about the Python-bugs-list mailing list