Message241860
The 'i' format unit is often used for semantically boolean values. When the parameter has a default value, in Argument clinic you should specify it twice, as Python and C values:
closefd: int(c_default="1") = True
or
keepends: int(py_default="False") = 0
Proposed patch adds the boolint converter which makes a conversion for you.
closefd: boolint = True
keepends: boolint = False |
|
Date |
User |
Action |
Args |
2015-04-23 10:33:08 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry |
2015-04-23 10:33:08 | serhiy.storchaka | set | messageid: <1429785188.86.0.806042190219.issue24037@psf.upfronthosting.co.za> |
2015-04-23 10:33:08 | serhiy.storchaka | link | issue24037 messages |
2015-04-23 10:33:08 | serhiy.storchaka | create | |
|