#10743: Add iterator protocol to EclObject
---------------------------+------------------------------------------------
   Reporter:  nbruin       |       Owner:  nbruin         
       Type:  enhancement  |      Status:  needs_review   
   Priority:  major        |   Milestone:  sage-4.6.2     
  Component:  interfaces   |    Keywords:  ECL lisp ecllib
     Author:  Nils Bruin   |    Upstream:  N/A            
   Reviewer:               |      Merged:                 
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by nbruin):

 Replying to [comment:3 fbissey]:
 >  I haven't tried with mercurial patch but I would be surprised if it
 worked.
 It does apply cleanly to 4.6.1 and the patchbot was happy with the patch
 too (although the patchbot seems to be down at the moment)
 {{{
 sonny devel/sage$ ../../sage -hg log | head
 changeset:   15205:f24ce048fa66
 tag:         tip
 user:        Jeroen Demeyer <[email protected]>
 date:        Tue Jan 11 08:10:26 2011 +0100
 summary:     4.6.1

 changeset:   15204:173ae89d6291
 user:        Jeroen Demeyer <[email protected]>
 date:        Tue Jan 11 04:51:03 2011 +0100
 summary:     Added tag 4.6.1 for changeset a05facfc3390
 sonny devel/sage$ ../../sage -hg diff
 sonny devel/sage$ ../../sage -hg qimport
 http://trac.sagemath.org/sage_trac/raw-
 attachment/ticket/10743/ecl_iter.patch
 adding ecl_iter.patch to series file
 sonny devel/sage$ ../../sage -hg qpush
 applying ecl_iter.patch
 now at: ecl_iter.patch
 sonny devel/sage$ ../../sage -hg log | head
 changeset:   15206:d3554f7e41db
 tag:         ecl_iter.patch
 tag:         qbase
 tag:         qtip
 tag:         tip
 user:        Nils Bruin <[email protected]>
 date:        Fri Feb 04 14:19:57 2011 -0800
 summary:     Add iterator protocol to EclObject

 changeset:   15205:f24ce048fa66
 sonny devel/sage$ ../../sage -bt sage/libs/ecl.pyx

 ----------------------------------------------------------
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 Updating Cython code....
 Building modified file sage/libs/ecl.pyx.
 python `which cython`  --embed-positions --directive
 cdivision=True,autotestdict=False -I/usr/local/sage/4.6.1/devel/sage-test
 -o sage/libs/ecl.c sage/libs/ecl.pyx
 sage/libs/ecl.pyx --> /usr/local/sage/4.6.1/local//lib/python/site-
 packages//sage/libs/ecl.pyx
 Time to execute 1 commands: 3.12507390976 seconds
 Finished compiling Cython code (time = 3.74062800407 seconds)
 running install
 running build
 running build_py
 running build_ext
 building 'sage.libs.ecl' extension
 gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -fPIC -I/usr/local/sage/4.6.1/local/include/ecl/
 -I/usr/local/sage/4.6.1/local//include
 -I/usr/local/sage/4.6.1/local//include/csage
 -I/usr/local/sage/4.6.1/devel//sage/sage/ext
 -I/usr/local/sage/4.6.1/local/include/python2.6 -c sage/libs/ecl.c -o
 build/temp.linux-i686-2.6/sage/libs/ecl.o -w
 gcc -pthread -shared build/temp.linux-i686-2.6/sage/libs/ecl.o
 -L/usr/local/sage/4.6.1/local//lib -L/usr/local/sage/4.6.1/local/lib
 -lcsage -lecl -lstdc++ -lntl -lpython2.6 -o
 build/lib.linux-i686-2.6/sage/libs/ecl.so
 Time to execute 1 commands: 0.438040018082 seconds
 Total time spent compiling C/C++ extensions:  0.49472618103 seconds.
 running install_lib
 copying build/lib.linux-i686-2.6/sage/libs/ecl.so ->
 /usr/local/sage/4.6.1/local/lib/python2.6/site-packages/sage/libs
 running install_egg_info
 Removing /usr/local/sage/4.6.1/local/lib/python2.6/site-
 packages/sage-0.0.0-py2.6.egg-info
 Writing /usr/local/sage/4.6.1/local/lib/python2.6/site-
 packages/sage-0.0.0-py2.6.egg-info
 sage -t  "devel/sage-test/sage/libs/ecl.pyx"
          [2.3 s]

 ----------------------------------------------------------------------
 All tests passed!
 Total time for all tests: 2.3 seconds
 }}}

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