looking for Java final/Ruby freeze functionality in Python

Antoine De Groote antoine at vo.lu
Sun Mar 4 16:14:43 EST 2007


yes thanks, that is quite what I was looking for.

Arnaud Delobelle wrote:
> On Mar 4, 7:38 pm, Antoine De Groote <anto... at vo.lu> wrote:
>> Hello,
>>
>> I've been googling for quite a while now but can't find anything about a
>> function/keyword to make a list (or something else) immutable. Could
>> anybody point me to docs about this matter or give me a reason why this
>> (apparently) doesn't exist in Python?
> 
> First result from google 'python freeze object':
> 
> http://www.python.org/dev/peps/pep-0351/
> 
> The PEP was rejected but the document contains a link to a discussion
> about why there is no such thing in python:
> 
> http://mail.python.org/pipermail/python-dev/2006-February/060793.html
> 
> HTH
> 
> --
> Arnaud
> 



More information about the Python-list mailing list