Author taleinat
Recipients larry, msullivan, serhiy.storchaka, taleinat
Date 2019-06-08.18:34:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
How about allowing '|' to be used again after '$'? Keyword arguments would be optional by default, but if there is a '|' after the '$', then those before it are required.

"O|O$O|O" -- one required keyword arg and one optional one.
"O|O$OO" -- both keyword args are optional.
"O|O$|OO" -- both keyword args are optional.
"O|O$OO|" -- both keyword args are required.

1. Backwards-compatible with current notation.
2. No additional characters used as sigils.
3. Similar meaning as existing use of '|' to separate required and optional args.
4. Same order as for Python function.

1. Need to scan to the end of the format string to figure out whether keyword args are optional or required.
Date User Action Args
2019-06-08 18:34:20taleinatsetrecipients: + taleinat, larry, serhiy.storchaka, msullivan
2019-06-08 18:34:20taleinatsetmessageid: <>
2019-06-08 18:34:20taleinatlinkissue34235 messages
2019-06-08 18:34:20taleinatcreate