Author methane
Recipients methane
Date 2020-06-30.09:03:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593507822.5.0.360334275717.issue41167@roundup.psfhosted.org>
In-reply-to
Content
PyArg_ParseTuple has 'U' format for getting Unicode as PyObject*.
But when user want accept "str or None", they are forced to use 'O&' and write a custom converter. It is not convenient.

I am proposing to add 'U?' for "str or None" variants of 'U'. Does it make sense?
History
Date User Action Args
2020-06-30 09:03:42methanesetrecipients: + methane
2020-06-30 09:03:42methanesetmessageid: <1593507822.5.0.360334275717.issue41167@roundup.psfhosted.org>
2020-06-30 09:03:42methanelinkissue41167 messages
2020-06-30 09:03:42methanecreate