-
-
Notifications
You must be signed in to change notification settings - Fork 571
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 bitset.pxi to bitset_base.pxd #30601
Comments
comment:2
Modern Cython uses - for i from 0 <= i < bits.size:
+ for i in range(bits.size):
s[i] = one if bitset_in(bits, i) else zero If you could make these changes where appropriate, that would be good. Beyond that, LGTM. |
Reviewer: Travis Scrimshaw |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Done. I figured it was some old style usage. Replying to @tscrim:
|
comment:5
Replying to @kliem:
Thank you.
You're probably right, but it was something I noticed from the diff and I didn't look too closely if it was a hold-over or an addition. (Although I do try and change these things when I do such changes, but that is me.) |
comment:6
Thank you. I think |
Changed branch from u/gh-kliem/properly_define_bitsets_with_a_header to |
We move
bitset.pxi
tobitset_base.pxd
.So far
bitset.pxi
contained mostly inline functions for the header but also a few functions that cannot be inlined due to optional arguments.https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html?highlight=pxi#cython-file-types
Depends on #30597
CC: @videlec
Component: refactoring
Keywords: bitset, header
Author: Jonathan Kliem
Branch/Commit:
bc0e1fb
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/30601
The text was updated successfully, but these errors were encountered: