Yury Selivanov added the comment: > Can we do better? How about a new field on the Parameter object, > "symbolic_default_value", which shows you the expression used to compute the > value? We could then set default_value to the result of the expression, > pydoc could print the symbolic expression, and codecs encode/decode could be > more straightforward.
Maybe it's a good idea, but I'm -1 on pushing new APIs to 3.5 without some careful consideration at this super late stage (and it's not going to be a small change btw). Let's just fix the codecs module. ---------- nosy: +Yury.Selivanov _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24824> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com