-
-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split word.py file into 4 files #8429
Comments
comment:1
I will post a patch as soon as #8418 gets a positive review, because the patch will depend on it. |
Attachment: trac_8429_split_word-sl.patch.gz Depends on many tickets already merged in 4.3.4.alpha1 |
comment:3
I tested Sébastien's patch after having applied many tickets of the sage-combinat server. Here is the list #7420 #7420 #7421 #7976 #7976 #7921 #7921 #7938 #8028 #8001 #8001 #5524 #8095 #8200 #8044 #8093 #8093 #8140 #8140 #8140 #6775 #8186 #8186 #8120 #7978 #8127 #8127 #8215 #8154 #8250 #8250 #8224 #8223 #8232 #8259 #8259 #8187 #8187 #8227 #8227 #8268 #8268 #8289 #8289 #8318 #8313 #7520 #7619 #8294 #8276 #8276 #8276 #8273 #8273 #8367 #8266 #8266 #8266 #8233 #8353 #8353 #8418 #8418 #8418 #8296 #7448 #8475 #8422 #8429 All tests passed, and the documentation buils correctly. |
comment:6
Replying to @sagetrac-abmasse:
Alexandre, I just moved the patch |
Reviewer: Alexandre Blondin Massé |
Author: Sébastien Labbé |
Merged: sage-4.4.alpha0 |
comment:8
Merged "trac_8429_split_word-sl.patch" into 4.4.alpha0. |
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 fileword.py
even more huge in the future...If a file contains the following :
one can not create a new class between A and C in another file (because of loops of import) :
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
andInfiniteWord_class
fromword.py
and put them in new files called respectivelyabstrac_word.py
,finite_word.py
andinfinite_word.py
.CC: @sagetrac-abmasse
Component: combinatorics
Author: Sébastien Labbé
Reviewer: Alexandre Blondin Massé
Merged: sage-4.4.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/8429
The text was updated successfully, but these errors were encountered: