Author rhettinger
Recipients anton.barkovsky, gregory.p.smith, htgoebel, pitrou, r.david.murray, rhettinger, serhiy.storchaka
Date 2017-01-28.01:02:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> I agree with David that copy(os.environ) is rather ambiguous.
> I think the preferred idiom should be to call dict(os.environ).
> As for __copy__, I don't know what it should do: perhaps
> simply raise an error when copying is attempted?

FWIW, I concur with Antoine on every point.  Also, raising an error when copying seems reasonable ("refuse the temptation to guess" at what the user intended).
Date User Action Args
2017-01-28 01:02:28rhettingersetrecipients: + rhettinger, gregory.p.smith, htgoebel, pitrou, r.david.murray, serhiy.storchaka, anton.barkovsky
2017-01-28 01:02:28rhettingersetmessageid: <>
2017-01-28 01:02:28rhettingerlinkissue15373 messages
2017-01-28 01:02:27rhettingercreate