-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Implement static import for ISequentialStream
(#474)
#578
Conversation
ISequentialStream
(#529)ISequentialStream
(#474)
8c43228
to
8fbc267
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added the parts of the test that I was concerned about.
There are no problems with the production codebase or its behavior.
As remaining tasks to merge this PR, we need to work on naming and writing comments.
I have come across a repository that makes However, that approach involves modifying the codebase within the Therefore, I think that those codebases becoming inoperable due to this change does not constitute "breaking backward compatibility". |
I agree with that. If all the downstream code we break is code that changed this packages behaviour, that is not a "breaking change" in my opinion, since they did not use part of our official API. Giving them a heads up won't hurt, but whenever you do something like that, you pretty much have to do version pinning (or blame yourself if an external update breaks your package). The part of the official API that we did change has never worked in the past to begin with, so it's quite a stretch to call that a "breaking change" in my opinion. |
I am planning to include this change in the release of version 1.4.5. For example, if there is a 'custom patch' version of
as you mentioned in #474 (comment), it is necessary to make the following changes: buffer_size = 1024
- pv = (c_ubyte * buffer_size)()
- read_buffer, data_read = stream.RemoteRead(pv, buffer_size)
+ read_buffer, data_read = stream.RemoteRead(buffer_size) Since it is impossible for us to investigate how widely the 'custom patch' is used in the world, I do NOT plan to find and go around individual repositories to encourage caution.
I agree with this. I will also mention that this change only affects |
I recognize that there are (other than I am considering accepting #578 is because |
I am sure that other examples will show up over time. As I don't see an automatic fix at the moment, I suggest we just implement them by hand as they come in. The fact that Thank you for your efforts and contributions to this project! |
See #474. I migrated the code from the old
istream-issue
branch to the latestmain
branch. Let me know if anything else needs to be done.Closes #474