STINNER Victor added the comment: > Personally I would test that the returned object is read only
I agree: write a short helper to check that modifying the dict fails. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21991> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com