homepage

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 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 <1485565348.28.0.533197196221.issue15373@psf.upfronthosting.co.za>
In-reply-to
Content
[Antoine]
> 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).
History
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: <1485565348.28.0.533197196221.issue15373@psf.upfronthosting.co.za>
2017年01月28日 01:02:28rhettingerlinkissue15373 messages
2017年01月28日 01:02:27rhettingercreate

AltStyle によって変換されたページ (->オリジナル) /