How convert a list string to a real list

Ben Finney ben+python at benfinney.id.au
Wed Nov 30 23:25:23 EST 2011


Steven D'Aprano <steve+comp.lang.python at pearwood.info> writes:

> On Wed, 30 Nov 2011 17:12:10 -0500, Terry Reedy wrote:
>
> > I think it would be better if safe_eval were available as an easily
> > accessible builtin and dangerous_eval were tucked away in a module ;-).
>
> +100000

You do realise that any vote outside the range −1 through +1 is invalid,
right? Every person gets a maximum of 1, positive or negative. Outside
that, the vote police come to kick you off the internet.

-- 
 \                             “Everything is futile.” —Marvin of Borg |
  `\                                                                   |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list