Louie Lu added the comment: I'm not sure the "safer" meaning. If it is about for beginner less confuse when mistakenly typing "d[long_<tab>", the answer will be yes for only complete string keys.
Impl complexity between str-only and not-str-only will not have too much different, only need to change the sentinel and some other work. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21261> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com