On 2016-04-11, Marko Rauhamaa <ma...@pacujo.net> wrote: > BartC <b...@freeuk.com>: > >> Of course this doesn't help you parsing typical input which uses >> commas as separators, not terminators! > > That's a red herring. You mustn't parse with eval(). You shouldn't event > think of parsing non-Python data with eval().
And you problably shouldn't think of parsing Python data with eval() either -- but for different reasons: It's very difficult to use eval() safely. -- Grant Edwards grant.b.edwards Yow! I want you to MEMORIZE at the collected poems of gmail.com EDNA ST VINCENT MILLAY ... BACKWARDS!! -- https://mail.python.org/mailman/listinfo/python-list