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 rhettinger
Recipients mbussonn, rhettinger
Date 2018-06-20.14:37:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529505458.0.0.56676864532.issue33910@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the suggestion.  You are right about *x*, *n*, or *a* being the best possible parameter name.   That said, it doesn't seem to have ever caused a problem in practice (this API has been around for a very long time), so I'm reluctant to create any disruption (breaking existing code) with a deprecation for something with so little benefit (this docstrings are very clear about what the parameter means).  There is also the matter of possible confusion with the seed() method which uses the *a* or the internal _randommodule.c that uses *n* but doesn't allow keyword arguments).

I think the lesson here is that parameter names should be carefully considered when a new API is created rather than decades after its release into the wild.
History
Date User Action Args
2018-06-20 14:37:38rhettingersetrecipients: + rhettinger, mbussonn
2018-06-20 14:37:38rhettingersetmessageid: <1529505458.0.0.56676864532.issue33910@psf.upfronthosting.co.za>
2018-06-20 14:37:37rhettingerlinkissue33910 messages
2018-06-20 14:37:37rhettingercreate