Dieter Maurer die...@handshake.de wrote:
You can create a tuple in C and then put a reference to itself into
it, but I am quite convinced that you cannot do it in Python itself.
(Of course, you could use cython to generate C code with a source
language very similar to Python).
I don't think
Edward C. Jones edcjo...@comcast.net writes:
I am trying to create a collection of hashable objects, where each
object contains references to
other objects in the collection. The references may be circular.
To simplify, one can define
x= list()
x.append(x)
which satisfies x ==
I am trying to create a collection of hashable objects, where each
object contains references to
other objects in the collection. The references may be circular.
To simplify, one can define
x= list()
x.append(x)
which satisfies x == [x].
Can I create a similar object for