Message286392
[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). |
|
Date |
User |
Action |
Args |
2017-01-28 01:02:28 | rhettinger | set | recipients:
+ rhettinger, gregory.p.smith, htgoebel, pitrou, r.david.murray, serhiy.storchaka, anton.barkovsky |
2017-01-28 01:02:28 | rhettinger | set | messageid: <1485565348.28.0.533197196221.issue15373@psf.upfronthosting.co.za> |
2017-01-28 01:02:28 | rhettinger | link | issue15373 messages |
2017-01-28 01:02:27 | rhettinger | create | |
|