-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Rename AbstractIOBuffer, it's not an abstract type #17360
Conversation
-1 The code isn't parameterized to handle this correctly. This seems to be code churn with no benefit. |
The benefit is the current (osx travis failure was a seemingly unrelated freeze, log backed up to https://gist.github.com/080189cb8f707e08c404d4a57f927fad and restarted) |
Can't this be called |
I suspect it could but I wasn't sure exactly what that would look like. |
Suggestions? This seemed the least disruptive immediate resolution of the misleading naming. @stevengj you had some thoughts in february? |
If you just don't want the name, the most correct change IMO would be just Definitely don't add an actual FWIW, it's probably wrong to call |
We should probably be more distinct in our wording then, since |
Even more confusingly, from talking with carnaval, |
Because the abstract parametric type shares the same name with the concrete parametric type for a given I tend to favor just calling this |
|
this is a bit confusing and we don't have a great word for it, but since Point wasn't declared with abstract here we probably shouldn't use that term
ref discussion at #11554 (comment) it might be better to rename this to IOBuffer but I'm not sure how to make that work
7286099
to
ebff12b
Compare
I also like the sound of just calling the parameterized version |
I just looked at |
The fact that AbstractIOBuffer is not an abstract type is totally ridiculous and must be fixed by 1.0. |
Resolved: renaming it to |
rename AbstractIOBuffer => GenericIOBuffer (close #17360)
rename
AbstractIOBuffer
toIOBufferBase
ref discussion at #11554 (comment)
Luckily very little code in base and no code in registered packages is using the constructorfor this type, only in dispatch (or in
precompile
calls) so this change should in theory notbe very noticeable. After we branch for release-0.5 we should consider removing the
parameterization and just call the type
IOBuffer
, since it doesn't look like anyone everuses any other type for the
data
field.