Message241882
I think this is silly.
Python has a well-understood concept of "truth":
https://docs.python.org/3/library/stdtypes.html#truth-value-testing
I assert that the reason people used the "i" format unit for what are really boolean values is because a) the "p" format unit wasn't added until very recently, and b) they were lazy and it was easy to copy-and-paste from other code.
Rather than perpetuate these misguided hacks, when converting code to Argument Clinic we should convert them to properly support truth as defined in Python. |
|
Date |
User |
Action |
Args |
2015-04-23 19:40:38 | larry | set | recipients:
+ larry, serhiy.storchaka |
2015-04-23 19:40:38 | larry | set | messageid: <1429818038.5.0.271093514568.issue24037@psf.upfronthosting.co.za> |
2015-04-23 19:40:38 | larry | link | issue24037 messages |
2015-04-23 19:40:38 | larry | create | |
|