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 mark.dickinson, rhettinger
Date 2019-09-20.17:21:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1569000102.29.0.506926854512.issue38237@roundup.psfhosted.org>
In-reply-to
Content
Current signature:

    pow(x, y, z=None, /)


Proposed signature:

    pow(base, exp, mod=None)


Benefits:

* Meaningful and self-explanatory parameters in tooltips

* Optionally clearer calls for the three argument form:

     pow(2, 5, mod=4)

* More usable with partial():

     squared = partial(pow, exp=2)
History
Date User Action Args
2019-09-20 17:21:42rhettingersetrecipients: + rhettinger, mark.dickinson
2019-09-20 17:21:42rhettingersetmessageid: <1569000102.29.0.506926854512.issue38237@roundup.psfhosted.org>
2019-09-20 17:21:42rhettingerlinkissue38237 messages
2019-09-20 17:21:42rhettingercreate