On 8/24/11 12:16 PM, Nicolas M. Thiery wrote:
On Wed, Aug 24, 2011 at 10:22:03AM -0700, Anne Schilling wrote:
Which patch in the sage-combinat queue defines Element and Parent?
Will this go into sage soon? If not, I suppose I'll try to avoid using this.

Element and Parent by themselves are in Sage since years. Do you need
something more specific?

Hmm? With Jason I have some private code which gives me an error in plain
sage, but not with the sage-combinat queue applied. It defines

class Tabloid(Element):
    __metaclass__ = ClasscallMetaclass

With plain sage I get the error:

NameError                                 Traceback (most recent call last)

/Applications/sage-4.7.1/devel/sage-combinat/sage/combinat/<ipython console> in 
<module>()

/Applications/sage/local/lib/python2.6/site-packages/sage/misc/preparser.pyc in 
load(filename, globals, attach)
   1594         execfile(fpath, globals)
   1595     elif fpath.endswith('.sage'):
-> 1596         exec(preparse_file(open(fpath).read()) + "\n", globals)
   1597     elif fpath.endswith('.spyx') or fpath.endswith('.pyx'):
   1598         import interpreter

/Applications/sage-4.7.1/devel/sage-combinat/sage/combinat/<string> in 
<module>()

NameError: name 'Element' is not defined

So I thought this was somewhere defined in the sage-combinat queue.

Thanks,

Anne

--
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to