-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
Move methods from Word_nfactor_enumerable to FiniteWord_class #12380
Comments
Dependencies: #9958 |
comment:1
Depends on one of the patch of #9958 merged in sage-5.0.beta0, namely : |
This comment has been minimized.
This comment has been minimized.
Author: Sébastien Labbé |
comment:3
Your patch looks good. If you are okay with my one, you can change the status to positive review. |
Reviewer: André Apitzsch |
Attachment: 12380_move_nfactors_methods-sl-updated.patch.gz |
comment:4
Ticket #13073 just changed one line in the file $ diff 12380_move_nfactors_methods-sl.patch 12380_move_nfactors_methods-sl-updated.patch
426c426
< + from sage.graphs.all import DiGraph
---
> + from sage.graphs.digraph import DiGraph
1181c1181
< - from sage.graphs.all import DiGraph
---
> - from sage.graphs.digraph import DiGraph The reviewer's patch still applies over the new updated one. I agree with the changes made by the reviewer. All tests pass in Apply 12380_move_nfactors_methods-sl-updated.patch trac_12380_reviewer.patch Because of changes made for #13073, I will not change the status of the ticket to positive review. I give André a last look at it. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Merged: sage-5.3.beta2 |
Attachment: trac_12380_reviewer.patch.gz Remove trailing white spaces |
comment:10
Rebased reviewer patch to sage-5.3.beta1. |
The file
sage/combinat/words/nfactor_enumerable_word.py
and its classWord_nfactor_enumerable
were introduced by ticket #8604. Just when it got merged into Sage, I realized it was a mistake. This class should not exist. The fact that its name was ugly was an indice. All those methods should be in a Language class (see #12225). It would get things a lot cleaner.Only the class
FiniteWord_class
was inheriting from it, so it farly easy to fix : just move the 14 methods from one class to the other.Note : this change will be unnoticed by the user.
Apply: attachment: 12380_move_nfactors_methods-sl-updated.patch and attachment: trac_12380_reviewer.patch
Depends on #9958
Depends on #13073
CC: @sagetrac-abmasse @videlec
Component: combinatorics
Author: Sébastien Labbé
Reviewer: André Apitzsch
Merged: sage-5.3.beta2
Issue created by migration from https://trac.sagemath.org/ticket/12380
The text was updated successfully, but these errors were encountered: