Message298539
| 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:25 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka |
| 2017年07月17日 15:47:25 | serhiy.storchaka | set | messageid: <1500306445.79.0.000834391811439.issue30950@psf.upfronthosting.co.za> |
| 2017年07月17日 15:47:25 | serhiy.storchaka | link | issue30950 messages |
| 2017年07月17日 15:47:25 | serhiy.storchaka | create |
|