Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
ISTM this a purely theoretical problem since "ns.return" is already a syntax error. The primary function of the Namespace class is to hold valid attributes and to allow the dot operator to access those attributes. Handling invalid attribute names is beyond its scope. ---------- assignee: -> rhettinger nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40265> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com