-
-
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
change foo[:bar] interfaces to foo.bar #25159
Comments
I'm almost done with this so I'll open a PR shortly. |
Besides factorization objects, the only other place where this idiom seems to be used is |
I can work on that one, since I've been doing some other work that touches regexes anyway. |
Although that's a little different since we do want to do |
I think we should keep |
Now that #24960 is merged, it's important that we think through its implications. In particular, for types where we used a
foo[:bar]
API, we should strongly consider changing it tofoo.bar
usinggetproperty
.In particular, I'm thinking of factorization objects like
qrfact
, where we currently useQR[:Q]
. It seems likeQR.Q
would be a lot more natural.The text was updated successfully, but these errors were encountered: