#18083: Stop using old_style_globals
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.6
Component: cython | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/jdemeyer/stop_using_old_style_globals|
c98b7d8aff011348a86729eac651227d60b6eb19
Dependencies: #12446, #18084 | Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:
Old description:
New description:
Instead of using Cython's `old_style_globals` option, we use the new
`user_globals` from #12446 to access `globals()`.
In order to support
{{{
sage: sage_eval( ("f(x)=x^2", "f(1)") )
}}}
we make a small change to the preparser: we ensure that `f(x) = ...` makes
`x` available ''both'' as global and as local.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/18083#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.