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 xiang.zhang
Recipients Carl Ekerot, loewis, serhiy.storchaka, xiang.zhang
Date 2016年11月05日.07:37:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478331431.71.0.243836105417.issue28563@psf.upfronthosting.co.za>
In-reply-to
Content
> gettext.c2py("n()")(lambda: os.system("sh"))
> gettext.c2py("1()")(0)
Empty parentheses should be disallowed. Function calls are not allowed in plural expression. And non-integer argument should be disallowed either, just as Serhiy's example shows.
> What if make repeated replacements with regular expression r'([^?:]*?)\?([^?:]*?):([^?:]*)'?
How does it work for '1?2:3?4:5'? :-( I am considering a parser.
History
Date User Action Args
2016年11月05日 07:37:11xiang.zhangsetrecipients: + xiang.zhang, loewis, serhiy.storchaka, Carl Ekerot
2016年11月05日 07:37:11xiang.zhangsetmessageid: <1478331431.71.0.243836105417.issue28563@psf.upfronthosting.co.za>
2016年11月05日 07:37:11xiang.zhanglinkissue28563 messages
2016年11月05日 07:37:11xiang.zhangcreate

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