Terry J. Reedy added the comment:
Lingaraj: the fact that you use IDLE to run Python code, with the same binary
executable that is running IDLE, does not make the result an IDLE issue. (This
is a common mistake of beginners who use IDLE.)
Anyway, an infinite string, the 'accurate' result, o
Eric V. Smith added the comment:
The ... denotes a recursive data structure, which is what you've created here
by "a" including itself as an element. I'm not clear what you expected to see,
but I'm going to close this because I don't see an actual problem here. If you
think there's a bug in
New submission from Lingaraj Gowdar :
Currently the output of below append cannot be used for practical purpose, This
jira is to get the expectation for a case in append.
>>> a=[1,2]
>>> a.append(a)
>>> a
[1, 2, [...]]
>>>
--
assignee: terry.reedy
components: IDLE
messages: 331148
nos