#10327: Problems with get_systems and symbolic expressions
-----------------------------------+----------------------------------------
   Reporter:  jpflori              |          Owner:  burcin         
       Type:  defect               |         Status:  positive_review
   Priority:  minor                |      Milestone:  sage-4.7       
  Component:  symbolics            |       Keywords:                 
Work_issues:                       |       Upstream:  N/A            
   Reviewer:  Karl-Dieter Crisman  |         Author:  Mike Hansen    
     Merged:                       |   Dependencies:                 
-----------------------------------+----------------------------------------
Changes (by kcrisman):

  * status:  needs_review => positive_review
  * reviewer:  => Karl-Dieter Crisman


Comment:

 I finally figured out ''why'' it works.  For my own reference, or others
 who might have been similarly confused by this important but arcane
 subject.  In some sense we're lucky that JP happened upon 'a', as many
 others weren't in this!
 {{{
 sage: get_systems('print locals()')
 {'a': None, 'bad_res': None, 'systems_used': None, 'stats': None,
 'bad_re': None, 'i': None, 'cmd': 'print locals()', 'system': None,
 'filename': '/Users/karl-
 dietercrisman/.sage//temp/new_host_2.home/60265//tmp_2', 're': <module
 're' from '/Applications/MathApps/sage/local/lib/python/re.pyc'>, 's':
 None, 'r': None, 'cProfile': <module 'cProfile' from
 '/Applications/MathApps/sage/local/lib/python/cProfile.pyc'>, 'pstats':
 <module 'pstats' from
 '/Applications/MathApps/sage/local/lib/python/pstats.pyc'>, 'strings':
 None}
 []
 }}}
 Yes, we wouldn't want to use these particular locals to `exec` the
 command.

 And work the patch does, in a fair number of cases (using quite a few of
 the systems) I still tested.   Good catch.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10327#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to