Message280037
gettext_c2py.patch tries to avoid the problem. It still uses eval but manually parse the expression using tokens extracted from gettext. Tests are passed.
But there is still a problem. Both patched and original c2py fail to handle nested ternary operator. They respect the right associative but fails to handle expressions like '1?2?3:4:5'. |
|
| Date |
User |
Action |
Args |
| 2016-11-04 06:50:58 | xiang.zhang | set | recipients:
+ xiang.zhang, loewis, serhiy.storchaka, Carl Ekerot |
| 2016-11-04 06:50:57 | xiang.zhang | set | messageid: <1478242257.91.0.557775363271.issue28563@psf.upfronthosting.co.za> |
| 2016-11-04 06:50:57 | xiang.zhang | link | issue28563 messages |
| 2016-11-04 06:50:57 | xiang.zhang | create | |
|