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 larry
Recipients larry, serhiy.storchaka
Date 2015-04-23.19:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429818038.5.0.271093514568.issue24037@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-04-23 19:40:38larrysetrecipients: + larry, serhiy.storchaka
2015-04-23 19:40:38larrysetmessageid: <1429818038.5.0.271093514568.issue24037@psf.upfronthosting.co.za>
2015-04-23 19:40:38larrylinkissue24037 messages
2015-04-23 19:40:38larrycreate