You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document when a new function / class / method / attribute was introduced for the 0.17 release #5504
We should review all the classes / functions / methods / attributes introduced in 0.17 (see the changelog) and add a ..versionadded:: 0.17 declaration in the docstring for those elements.
It's also a good opportunity to add the missing links to the github PR numbers (or issue number if no PR) when those features where added to the matching entry of doc/whats_new.rst.
The commits to address this PR should first be merged in master and then @ogrisel or @amueller will take care of the actual backport to the 0.17.X branch.
To people deciding to tackle this: don't hesitate to open an early pull request with a [WIP] tag in the title of the pull-request (on github, not in the commit message) so that reviewers can give you feedback early on how to do that. This is the first time we do it on this project so expect a bit of discussion on the best practices that will emerge ;)
So, here is the case. To make sure that we agree to one particular space alignment to the versionadded or versionchanged which looks like New in version 0.17 and Changed in version 0.17
I would always put it at the very bottom of the docstring. So I would do it differently for labels.
I don't exactly know what I would do for solver.
Maybe
Activity
ogrisel commentedon Oct 21, 2015
I will open a sister issue to do the same work for features added in the future 0.18 release.
ogrisel commentedon Oct 21, 2015
To people deciding to tackle this: don't hesitate to open an early pull request with a
[WIP]tag in the title of the pull-request (on github, not in the commit message) so that reviewers can give you feedback early on how to do that. This is the first time we do it on this project so expect a bit of discussion on the best practices that will emerge ;)jnothman commentedon Oct 21, 2015
Perhaps this will help:
(Perhaps it won't!)
KamalakerDadi commentedon Oct 21, 2015
Anybody on this one ?I want to try.
amueller commentedon Oct 21, 2015
go ahead @KamalakerDadi :)
KamalakerDadi commentedon Oct 22, 2015
So, here is the case. To make sure that we agree to one particular space alignment to the
versionaddedorversionchangedwhich looks likeNew in version 0.17andChanged in version 0.17Here are the few snapshots of how it looks like.
Classcaseparameterimproved caseparametercaseamueller commentedon Oct 22, 2015
I would always put it at the very bottom of the docstring. So I would do it differently for
labels.I don't exactly know what I would do for solver.
Maybe
put I'm open for discussion on this.
I think that the version info is "for the interested expert user" and shouldn't stop the flow of reading the docstring too much.
amueller commentedon Nov 1, 2015
@KamalakerDadi did you end up working on this? Any partial work would be appreciated for the 0.17 release.
KamalakerDadi commentedon Nov 2, 2015
I am half done in PR #5511 . The other half I will finish by this evening.