logo       

[ jython-Patches-862707 ] Carry over __future__ to eval: msg#00013

lang.jython.devel

Subject: [ jython-Patches-862707 ] Carry over __future__ to eval

Patches item #862707, was opened at 2003-12-19 04:32
Message generated for change (Comment added) made by pedronis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312867&aid=862707&group_id=12867

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Randy Brown (lycotic)
Assigned to: Nobody/Anonymous (nobody)
Summary: Carry over __future__ to eval

Initial Comment:
This patch carries over __future__ generator/division
declarations to eval()/execfile()/etc. There was some
support before, but because the flags didn't make it into
function scopes, they didn't make it all the way through.

eval() also had a special case ignoring this, but it was
referring to (defunct) support for turning on nested scopes
(they're always on now).

CPython 2.1 test_long_future.py now passes.

I'd put more direct testing for this in, but I'm not sure
exactly where. A test_j*.py in Lib/test? Something in Lib/
test/bugs?

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

>Comment By: Samuele Pedroni (pedronis)
Date: 2004-01-05 02:41

Message:
Logged In: YES
user_id=61408

thanks,

I know that not getting patches reviewed immediately can be
upsetting. I will review them when I have a first cut at
starting new-style classes support,

it seems I have a stretch of time over the next two months
to start working on that. It's a major road block so ...

I hope it pans out

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=312867&aid=862707&group_id=12867


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise