#8429: Split word.py file into 4 files
-----------------------------+----------------------------------------------
   Reporter:  slabbe         |       Owner:  sage-combinat
       Type:  enhancement    |      Status:  new          
   Priority:  major          |   Milestone:  sage-4.3.4   
  Component:  combinatorics  |    Keywords:               
     Author:                 |    Upstream:  N/A          
   Reviewer:                 |      Merged:               
Work_issues:                 |  
-----------------------------+----------------------------------------------
 The file {{{word.py}}} is getting very huge and forces one to create new
 classes inside of it (see below for explanation) which will get the file
 {{{word.py}}} even more huge in the future...

 If a file contains the following :

 {{{
 #file1.py
 class A:
     #huge class
     pass
 class C(A):
     #huge class
     pass
 }}}

 one can not create a new class between A and C in another file (because of
 loops of import) :

 {{{
 #file1.py
 class A:
     #huge class
     pass
 from file2 import B
 class C(B):
     #huge class
     pass
 }}}

 {{{
 #file2.py
 from file1 import A
 class B(A)
     #large intermediate class
     pass
 }}}

 So the solution is either to put everything in the same file or to put
 everything in different files. In this case, I choose the last solution
 because {{{word.py}}} is getting huge.

 This ticket removes {{{Word_class}}}, {{{FiniteWord_class}}} and
 {{{InfiniteWord_class}}} from {{{word.py}}} and put them in new files
 called respectively {{{abstrac_word.py}}}, {{{finite_word.py}}} and
 {{{infinite_word.py}}}.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8429>
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