Author serhiy.storchaka
Recipients Carl Ekerot, christian.heimes, loewis, serhiy.storchaka, xiang.zhang
Date 2016-11-08.08:58:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478595487.54.0.572577188957.issue28563@psf.upfronthosting.co.za>
In-reply-to
Content
Just for reference:

https://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms
http://git.savannah.gnu.org/cgit/gettext.git/tree/gettext-runtime/intl/plural.y

Yet one security issue is that too deep recursion can cause MemoryError or even a crash in Python compiler. My patch creates too much nested parenthesis. Updated patch minimize using parenthesis to minimum and adds guards against too deep recursion.
History
Date User Action Args
2016-11-08 08:58:07serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, christian.heimes, xiang.zhang, Carl Ekerot
2016-11-08 08:58:07serhiy.storchakasetmessageid: <1478595487.54.0.572577188957.issue28563@psf.upfronthosting.co.za>
2016-11-08 08:58:07serhiy.storchakalinkissue28563 messages
2016-11-08 08:58:07serhiy.storchakacreate