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 alexandre.vassalotti, bruno.dupuis, cool-RR, mont29, pitrou, serhiy.storchaka, terry.reedy
Date 2017-02-19.15:01:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1487516478.46.0.855704899268.issue11299@psf.upfronthosting.co.za>
In-reply-to
Content
I concur with Antoine.

copy.deepcopy() should be used with care since it recursively copies all referred data. In case of generators the data can be referred implicitly. Every global value cached in local variable, every passed argument, every nonlocal variable should be copied. This may not just wastes memory and CPU time, but change the semantic.
History
Date User Action Args
2017-02-19 15:01:18serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, pitrou, alexandre.vassalotti, cool-RR, bruno.dupuis, mont29
2017-02-19 15:01:18serhiy.storchakasetmessageid: <1487516478.46.0.855704899268.issue11299@psf.upfronthosting.co.za>
2017-02-19 15:01:18serhiy.storchakalinkissue11299 messages
2017-02-19 15:01:18serhiy.storchakacreate