#16181: inject_shorthands broken since 6.2beta8
-------------------------------------+-------------------------------------
       Reporter:  darij              |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  critical           |    Milestone:  sage-6.2
      Component:  misc               |   Resolution:
       Keywords:  globals,           |    Merged in:
  inject_shorthands, regression,     |    Reviewers:
        Authors:                     |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  6e0f42f336ad394f05040e379252c18c5785967a
  public/combinat/inject_shorthands  |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by darij):

 BTW: when I do `sys._getframe(0).f_globals`, I get the following cruft:

 {{{
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.elementary.<tab>
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.<tab> instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.AlcovePath
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.FastRankTwo
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.infinity.Tableaux
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use
 crystals.TensorProductOfKirillovReshetikhinTableaux instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.KyotoPathModel
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.Letters instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.DirectSum instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use
 crystals.KirillovReshetikhin with model='KR' instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use
 crystals.KirillovResetikhin instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/IPython/core/interactiveshell.py:2834: DeprecationWarning: this
 is being removed from the global namespace. Use crystals.HighestWeight
 instead
 See http://trac.sagemath.org/15882 for details.
   exec code_obj in self.user_global_ns, self.user_ns
 /home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/Babel-1.3-py2.7.egg/babel/core.py:14: ImportWarning: Not
 importing directory '/home/darij/gitsage6.2/local/lib/python2.7/site-
 packages/Babel-1.3-py2.7.egg/babel/localedata': missing __init__.py
   from babel import localedata
 }}}

 And this is just the error output. Here is the actual dictionary:
 https://www.dropbox.com/s/6hzuqm6jf9jo9jt/outtext.txt

 I can't believe this all needs to be in the globals?

--
Ticket URL: <http://trac.sagemath.org/ticket/16181#comment:8>
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.

Reply via email to