-
-
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
clean up documentation of sage/misc/bitset.pyx #10093
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Attachment: trac-10093_cleanup-doc.patch.gz The attached patch is a massive clean-up of the documentation and doctests in the module
|
Author: Minh Van Nguyen |
This comment has been minimized.
This comment has been minimized.
comment:4
Note that this example: |
Attachment: trac-10093_cleanup-doc-v2.patch.gz |
comment:5
Replying to @jasongrout:
I'm not sure what it is that you want me to modify in my patch. Do you want me to remove it? Do you want me to make some clarification in the document? The purpose of the block within which that example is found is to demonstrate different ways of constructing the empty bitset. If you want some more clarification, I have added the following examples to my patch:
See the ticket description for instruction on which patch to apply. Also note that in the current implementation of |
This comment has been minimized.
This comment has been minimized.
comment:6
Sorry, I should have been clearer. I read through most of the patch, and just noticed that one thing that looked confusing. Thanks for fixing the empty string issue, and the huge number of other issues, and for formatting the docs so nicely! |
comment:7
Wow, great patch ! Thank you Minh ! And thanks to whoever wrote this wonderful bitset class in the first place ! I'm making great use of it these days Just two things :
Nathann |
comment:8
Replying to @nathanncohen:
This should be fixed now with attachment: trac-10093_cleanup-doc-v3.patch
The variable "iter" is meant to signify that the constructor expects an iterator, something whose elements we can step through one element at a time. To do the stepping, we need an iterator: a function or something that allows us to do the stepping through from start to finish. So an iterable is different from an iterator. |
This comment has been minimized.
This comment has been minimized.
Reviewer: Nathann Cohen |
comment:9
Well, in that case Nathann |
comment:11
This fails on 32-bit i386 Linux:
|
Work Issues: 32-bit |
comment:12
The same error on OS X 10.4 PPC 32-bit. |
comment:14
Attachment: trac-10093_cleanup-doc-v3.patch.gz Rebased the original patch (which still has positive_review I guess) and added an additional patch to deal with the empty bitset. |
Changed work issues from 32-bit to none |
Changed author from Minh Van Nguyen to Minh Van Nguyen, Jeroen Demeyer |
This comment has been minimized.
This comment has been minimized.
comment:15
This patch passes all tests on my computer. So I change the status to positive. |
Changed reviewer from Nathann Cohen to Nathann Cohen, David Coudert |
comment:16
Attachment: 10093_empty.patch.gz |
Merged: sage-5.13.rc0 |
As the subject says. This ticket is part of the larger project at #7656.
Apply:
CC: @jasongrout
Component: documentation
Author: Minh Van Nguyen, Jeroen Demeyer
Reviewer: Nathann Cohen, David Coudert
Merged: sage-5.13.rc0
Issue created by migration from https://trac.sagemath.org/ticket/10093
The text was updated successfully, but these errors were encountered: