-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
improve the words library code #6519
Comments
comment:1
You can find comparisons of the new code and the old code at the bottom of |
comment:2
This patch includes code from Sébastien Labbé, Vincent Delecroix and The development took place on the sage-combinat patch server, and the attached patch Partial Review: I reviewed and documented Vincent's code, to which give a positive Sébastien, can you look over the changes that I made that you haven't yet |
comment:3
On top of a fresh sage-4.1 build (OS X), this patch fails to build:
|
comment:4
Replying to @rlmill:
Okay, I've factored the offending code out of this patch (once it is fixed, |
comment:5
Replying to @saliola:
The patch now applies, builds and passes long doctests in Doesn't the date in the deprecation comments need to be updated?
|
comment:6
I ran valgrind on sage-4.1 + the patch here on the |
comment:7
Robert! Thank you very much for doing this. That's great. |
Reviewer: Robert Miller |
comment:9
#6526 should probably be merged right after this, to avoid later conflicts. |
comment:10
Dear Robert, I want to thank you for reviewing this huge patch we are working on since so long time. It was an heavy task that was following us for more than one semester. And all this time, I was affraid not to find a reviewer so that the code get old again with another ReST sphinfixication 2 or something like that because things are moving so fast with Sage. So, I feel more light now that this will get merged apparently really soon. Thank you for your contribution. By the way, I was having a good excuse to be absent from this ticket review this week. I was organising and giving a course on Sage this week in Montreal. There was between 10 and 20 persons present in the class at all time. We migth have triple the number of Sage users in all Quebec province with this course!! See the link here : http://wiki.sagemath.org/SébastienLabbé/JoursSageUQAM Dear Franco, even if Robert already gave a positive review, I will look the modifications/improvements you have done in the last week tommorow and I will give you feedback if I have any. |
comment:11
I'm getting a doctest failure:
|
comment:12
I am currently trying to understand the pickle problem... Using debug=True, I am getting more information (see below). The 10 problems look the same... I still don't know how to fix this... Sébastien
|
comment:13
Replying to @saliola:
I just looked at the changes that Franco made in the last week and I am giving a positive review to them. We now have to tackle the pickle problem described above. |
comment:14
I have a working patch right now. I am going to run a few more tests, and the post it. |
comment:15
The problem. The picklejar contains objects saved with older versions of The solution. The old word objects use the
I also added a bunch of deprecation warnings to these files and to the This is a temporary fix: since the |
(now with unpickle support for words save with older versions of Sage) |
Attachment: trac_6519-words_ng.patch.gz DO NOT APPLY! |
comment:16
Attachment: old_pickle_support.patch.gz To make reviewing my fix easier: I've attached the file Besides restoring the files |
comment:18
I applied the latest
I also run sage -t -long on all the sage tree and the only tests that failed are the following :
but those were also broken on my clean version of sage-4.1. Hence, I am giving a positive review to the changes made by Franco to solve the pickle problem. |
Changed reviewer from Robert Miller to Robert Miller, Sébastien Labbé |
comment:20
Merged |
Merged: sage-4.1.1.alpha0 |
The current words library in Sage needs to be improved (mainly for speed, better code organization, etc.).
We essentially got a patch ready to do this. I'll post it soon.
CC: @seblabbe
Component: combinatorics
Keywords: words
Author: Vincent Delecroix, Sébastien Labbé, Franco Saliola
Reviewer: Robert Miller, Sébastien Labbé
Merged: sage-4.1.1.alpha0
Issue created by migration from https://trac.sagemath.org/ticket/6519
The text was updated successfully, but these errors were encountered: