Vajrasky Kok added the comment: The question is whether we should give the freedom to user to add dynamic attribute to Counter object.
Is this freedom has any practicality? Why do we want to add dynamic attributes to Counter object? Decimal object does not have this freedom. >>> from decimal import Decimal >>> z = Decimal('1.0') >>> z.foo = 'a' Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'decimal.Decimal' object has no attribute 'foo' Actually I am not really sure about this. Maybe someone knows the answer. ---------- nosy: +vajrasky _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18352> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com