Christian Heimes added the comment:

Ah, I see what you are doing. Nice catch!

Plural-Forms: nplurals=0; plural=42**42**42;

The plural form gets parsed by gettext.c2py() and eventually turned into a 
lambda that executes int(42**42**42). Perhaps a custom AST visitor could be 
used to filter out dangerous ops and limit the amount of ops to a sane amount?

----------
nosy: +barry -loewis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18317>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to