This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author willingc
Recipients barry, brett.cannon, docs@python, ncoghlan, pablogsal, rhettinger, tim.peters, vstinner, willingc
Date 2019-06-03.20:49:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1559594958.24.0.689891356934.issue37134@roundup.psfhosted.org>
In-reply-to
Content
Tim's message resonated with me. Confusing users is something that I believe that we wish to minimize. I confess that I had a similar reaction as Tim when I saw functions with a trailing `/`. What I did find helpful was adding to the middle of the parameter list as was done in Serihy's earlier PRs.

Since we are balancing technical accuracy with user confusion (docs and docstrings), I propose the following: 

1. Remove the trailing / from 3.8 documentation but leave the / if it occurs in the middle of the parameter list. This increases technical accuracy from pre-3.8 and gives users more time to get comfortable with the change (since end users have found this a confusing area with args kwargs *).

2. Add to the documentation in 3.8 section on positional only parameters a note box that describes that in many/all cases where a / is not specified at the end and no * is found in the parameter list that a trailing slash would be accurate.

3. Give users time to absorb the positional only change in 3.8. Perhaps writing a blog post that explains in detail.

4. Add the trailing / in 3.9 documentation to make consistent with docstrings or improve/create a better directive for function that provides a better accuracy and less confusion. A Sphinx extension may also be made to show a simple user-friendly view and with a click the fully accurate view.
History
Date User Action Args
2019-06-03 20:49:18willingcsetrecipients: + willingc, tim.peters, barry, brett.cannon, rhettinger, ncoghlan, vstinner, docs@python, pablogsal
2019-06-03 20:49:18willingcsetmessageid: <1559594958.24.0.689891356934.issue37134@roundup.psfhosted.org>
2019-06-03 20:49:18willingclinkissue37134 messages
2019-06-03 20:49:18willingccreate