Message208304
Currently in many functions boolean argument parsed as int, with 'i' code. When converting this to Argument Clinic we can't write just
interactive: int = False
because C default becomes "Py_False".
Instead we need explicitly specify c_default.
interactive: int(c_default="0") = False
It would be good if True/False default values be converted to 1/0 C default values for the int type.
I think this is enough common situation. |
|
Date |
User |
Action |
Args |
2014-01-16 20:18:38 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, georg.brandl, larry |
2014-01-16 20:18:38 | serhiy.storchaka | set | messageid: <1389903518.09.0.378571732154.issue20282@psf.upfronthosting.co.za> |
2014-01-16 20:18:37 | serhiy.storchaka | link | issue20282 messages |
2014-01-16 20:18:37 | serhiy.storchaka | create | |
|