|
From: Faheem M. <fa...@fa...> - 2012-03-31 21:04:56
|
On Sat, 31 Mar 2012, Patrick Totzke wrote:
> Typically you'd grep for file removals and so on, or run it in a chroot or something
> similar but I don't thing you should go that road and try to replace eval.
Not sure what you are saying here. Do you think I should replace eval, or
should not replace eval?
> You could try using a different separator, say a semicolon for inner lists and a dot for
> outer lists. If you don't have a problem to compromise your syntax like this you can use:
>
> value = 1.2;3.4.5
> [inner.split('.') for inner in value.split(';')]
Interesting suggestion, thanks.
Regards, Faheem
|