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.17:35:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465320913.02.0.739523600127.issue27253@psf.upfronthosting.co.za>
In-reply-to
Content
Mapping views supports copying and deepcopying by default (using pickle protocol). But copy.deepcopy() is not efficient for KeysView and ValuesView. It copies all keys and values, while KeysView needs copying only keys and ValuesView needs copying only values.

Proposed patch implements more efficient deepcopy support for KeysView and ValuesView.
History
Date User Action Args
2016-06-07 17:35:13serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, rhettinger
2016-06-07 17:35:13serhiy.storchakasetmessageid: <1465320913.02.0.739523600127.issue27253@psf.upfronthosting.co.za>
2016-06-07 17:35:12serhiy.storchakalinkissue27253 messages
2016-06-07 17:35:12serhiy.storchakacreate