This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, rhettinger, serhiy.storchaka
Date 2016-06-07.16:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465316849.69.0.0784684578474.issue27252@psf.upfronthosting.co.za>
In-reply-to
Content
Proposed patch adds support of dict views in the copy module.

Since dict views are immutable, copy.copy() just returns the same object.

copy.deepcopy() returns a frozenset for the dict_keys object, a tuple for the dict_values object, and a dict_items object for the dict_items object. Only needed data is copied (keys for dict_keys, values for dict_values).
History
Date User Action Args
2016-06-07 16:27:29serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger
2016-06-07 16:27:29serhiy.storchakasetmessageid: <1465316849.69.0.0784684578474.issue27252@psf.upfronthosting.co.za>
2016-06-07 16:27:29serhiy.storchakalinkissue27252 messages
2016-06-07 16:27:29serhiy.storchakacreate