homepage

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 serhiy.storchaka
Recipients larry, serhiy.storchaka
Date 2015年04月23日.10:33:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429785188.86.0.806042190219.issue24037@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2015年04月23日 10:33:08serhiy.storchakasetrecipients: + serhiy.storchaka, larry
2015年04月23日 10:33:08serhiy.storchakasetmessageid: <1429785188.86.0.806042190219.issue24037@psf.upfronthosting.co.za>
2015年04月23日 10:33:08serhiy.storchakalinkissue24037 messages
2015年04月23日 10:33:08serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /