-
-
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
make broadcasting into getproperty extensible #39473
Conversation
Don't know if `dotgetproperty` is a good name for this, since as discussed in #36741, the way this works is a bit different from `dotview`. Right now, `dotproperty` returns a function which is used instead of `getproperty`, but not sure if that is a bit strange and we should just make it behave like `dotview` instead. fixes #36741
I'm inclined to have it do the operation (i.e. |
Yes, that's probably less awkward. |
@JeffBezanson Is this good to go? |
Would it be possible to have it in 1.6 (or in general in new target Julia LTS release). It would be great for DataFrames.jl users to be able to assume this functionality is always available (otherwise I would need to write in the documentation that some basic functionality like |
Feature freeze was a long time ago, so don't think any new features can go into 1.6. |
* make broadcasting into getproperty extensible Don't know if `dotgetproperty` is a good name for this, since as discussed in JuliaLang#36741, the way this works is a bit different from `dotview`. Right now, `dotproperty` returns a function which is used instead of `getproperty`, but not sure if that is a bit strange and we should just make it behave like `dotview` instead. fixes JuliaLang#36741 * make dotgetproperty call getproperty directly Co-authored-by: Jameson Nash <vtjnash@gmail.com>
* make broadcasting into getproperty extensible Don't know if `dotgetproperty` is a good name for this, since as discussed in JuliaLang#36741, the way this works is a bit different from `dotview`. Right now, `dotproperty` returns a function which is used instead of `getproperty`, but not sure if that is a bit strange and we should just make it behave like `dotview` instead. fixes JuliaLang#36741 * make dotgetproperty call getproperty directly Co-authored-by: Jameson Nash <vtjnash@gmail.com>
Don't know if
dotgetproperty
is a good name for this, since as discussed in #36741, the way this works is a bit different fromdotview
. Right now,dotproperty
returns a function which is used instead ofgetproperty
, but not sure if that is a bit strange and we should just make it behave likedotview
instead.fixes #36741