[riot-notifications] [RIOT-OS/RIOT] sys/shell: Exit the shell on ctrl-D or ctrl-C. (#10788)

Juan I Carrano notifications at github.com
Thu Jan 17 11:47:19 CET 2019


> I don't know about this. I sometimes use the fact in my testing, that the node is still accessible with make term after I Strg+C out of a previous make term.

If you have a recent version of python everything should be OK. In 3.7 it is even documented that they preserver insertion order.

> There are also OrderedDict.

Yes, but the test here was only using a dict to store pairs and not doing indexing of any kind. In that case a list of 2-tuples is the best choice.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10788#issuecomment-455127652
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190117/1df18c07/attachment.html>


More information about the notifications mailing list