[Python-3000] Immutable bytes type and dbm modules

Fred Drake fdrake at acm.org
Sun Aug 5 23:04:39 CEST 2007


On Aug 5, 2007, at 4:49 PM, Martin v. Löwis wrote:
> I don't think it needs to be a separate type,
> instead, bytes objects could have a idem-potent
> .freeze() method which switches the "immutable"
> bit on. There would be no way to switch it off
> again.

+1


   -Fred

-- 
Fred Drake   <fdrake at acm.org>





More information about the Python-3000 mailing list