[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue40081] List sorting

2020-03-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue40081] List sorting

2020-03-26 Thread Eric V. Smith
Eric V. Smith added the comment: In the future, please use the python-tutor or python-list mailing lists if you need help. If you still think you've found a bug in python, then open an issue here. https://mail.python.org/mailman/listinfo/tutor https://mail.python.org/mailman/listinfo/python-

[issue40081] List sorting

2020-03-26 Thread 朱聖黎
朱聖黎 added the comment: I think it's an expected behavior. `a.sort()` sorts the list itself in place, so it returns None. If you want a sorted list returned, you need to use `sorted` function. https://docs.python.org/3/library/functions.html#sorted -- nosy: +akarei __

[issue40081] List sorting

2020-03-26 Thread Sivasundar Nagarajan
New submission from Sivasundar Nagarajan : Good day. Hope you are safe and wish the same with the present situation. Need you help please in understanding the below function of Python. Steps - 1. tried assigning the below values in the list and named it as a 2.if I print, it prints in the