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 serhiy.storchaka
Recipients serhiy.storchaka
Date 2017-07-17.15:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500306445.79.0.000834391811439.issue30950@psf.upfronthosting.co.za>
In-reply-to
Content
When the builtins module was converted to Argument Clinic, round() was omitted because existing signature of round() wasn't supported with the inspect module. Now round() supports None as the value for the ndigits arguments, and this is the default value. round() now has the signature round(number, ndigits=None).

Proposed PR converts round() to Argument Clinic. This has two benefits:

1. inspect.signature() now works with round.

2. Faster parsing keyword arguments.
History
Date User Action Args
2017-07-17 15:47:25serhiy.storchakasetrecipients: + serhiy.storchaka
2017-07-17 15:47:25serhiy.storchakasetmessageid: <1500306445.79.0.000834391811439.issue30950@psf.upfronthosting.co.za>
2017-07-17 15:47:25serhiy.storchakalinkissue30950 messages
2017-07-17 15:47:25serhiy.storchakacreate