DEP: Deprecate as_strided returning a writable array as default - #7105
Conversation
a396123 to
2de30be
Compare
|
@jakirkham if you are interested in it, this would be the blue print for making the masked array warning relatively specific. |
|
+1 to the concept, but should get a mailing list post I think -- or has it had one and I missed it? |
|
BTW, I think we can remove diagonal from the warning message since it's been returning read-only views for a while now? |
2de30be to
68c0ee6
Compare
|
No idea, but that is your thing, so I trust you. Send an email and just removed the diagonal mention here.... |
ec5a7bb to
60c190c
Compare
60c190c to
ef323a6
Compare
|
Since there seemed to be some resistance on the mailing list, I opted with just doing adding a lengthy and scary documentation ;). If anyone finds this and is interested in the other solution (also because it gives blueprints for new "warn-on-write" stuff), the old version can be found here: https://github.com/seberg/numpy/tree/writeable-as-strided-warn-on-write This now a simple doc change. |
18add04 to
43afe9f
Compare
|
LGTM. Do you want to also add a (Or possibly |
43afe9f to
f7e64cc
Compare
|
Are you planning a spelling reform with writeable? ;) Anyway, added that since why not, if you already try to nudge people, make it at least easy. |
|
"Writable" is the more standard spelling but |
DEP: Deprecate as_strided returning a writable array as default
|
Thanks @seberg! |
|
Seems my browser is set to UK english spell checking or something ;). |
|
Should get a mention in the 1.12 release notes. |
No description provided.