3 Feb
2013
3 Feb
'13
1:27 a.m.
Guido van Rossum wrote:
You're proposing to do this just for literal_eval(), right? But how would you implement it? It seems it would require lots of special cases. Where would you stop? dict(key1=..., key2=...)? list({...})?
I think you just do frozenset() and stop there until someone asks for something else. dict(key1=..., key2=...) and list({...}) are not needed, because they can already be spelled as literals. -- Greg