one-element tuples
Grant Edwards
invalid at invalid.invalid
Mon Apr 11 10:12:41 EDT 2016
On 2016-04-11, Marko Rauhamaa <marko at pacujo.net> wrote:
> BartC <bc at 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!!
More information about the Python-list
mailing list