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 christian.heimes
Recipients barry, christian.heimes, jwilk, pitrou
Date 2013-06-27.23:10:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372374658.0.0.0870698662761.issue18317@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2013-06-27 23:10:58christian.heimessetrecipients: + christian.heimes, barry, pitrou, jwilk
2013-06-27 23:10:58christian.heimessetmessageid: <1372374658.0.0.0870698662761.issue18317@psf.upfronthosting.co.za>
2013-06-27 23:10:57christian.heimeslinkissue18317 messages
2013-06-27 23:10:57christian.heimescreate