-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: declare and use correctly self.unique_check #10139
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
Conversation
ok, what exactly does this fix? |
First, Then, when |
is |
See #10229 |
@toobaz just for future reference, you don't have to open a new PR every time you update. Just update your branch and push again will do! |
@jorisvandenbossche : since I was indeed trying to understand this... by "update" do you mean "push a new commit" or "rebase and push -f"? Because I tried the latter and it didn't seem to work (but I may have been mistaken). |
As long as you stay on the same branch, it does not matter. Adding a new commit, rebasing, etc all work and the PR will be updated with that if you push (force) again. |
But I see that the new PR uses another branch name. So you only need to stay on the same branch to update the PR |
I changed branch name precisely because I didn't think using the same would work! Thanks for the tip. |
I am not sure I understood the last comment in the previous pull request, but anyway this is a rebased version.
In the previous PR I proposed to simply make the
__get__
ofis_unique
directly rely onself.initialized
, but I am no more so sure it is a good idea, since the current status is slightly redundant but clearer (and coherent with the use of "is_monotonic").