[Python-ideas] Python Object Notation (PyON)

Mathias Panzenböck grosser.meister.morti at gmx.net
Sat Nov 1 20:49:48 CET 2008


Arnaud Delobelle schrieb:
> 
> E.g. can pyon.dumps dump obj accurately for the following value of obj?
> 
> lst = [1, 2]
> obj = [lst, lst]
> 
> I would expect pyon.dumps(obj) to give something like:
> """
> sym0 = [1, 2]
> obj = [sym0, sym0]
> """
> 

I wonder what it would yield in this case:
lst = ['foo']
lst.append(lst)


	-panzi



More information about the Python-ideas mailing list