Serhiy Storchaka added the comment:

Here is a preliminary patch. It changes copying and pickling to preserve 
instance attributes. Actually I'm not sure which attributes should be copied.

I doubt -- should this be considered as a fix or as a new feature?

Perhaps OrderedDict should be changed in same way.

----------
keywords: +patch
nosy: +rhettinger, serhiy.storchaka
stage:  -> patch review
versions: +Python 3.4 -Python 3.3
Added file: http://bugs.python.org/file30759/counter_copy_attrs.patch

_______________________________________
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

Reply via email to