[clug] Somedays you use more force than is necessary...
Hugh Fisher
Hugh.Fisher at anu.edu.au
Mon Apr 28 23:58:13 MDT 2014
On 29/04/14 15:18, Hal Ashburner wrote:
> Immutables.
>
>
> On 29 April 2014 10:19, David Austin <david at d-austin.net> wrote:
>
>>
>> That is so cool. Python - is there anything it can't do??
The first hit from typing 'immutable python object' into Google was a
StackOverflow thread about how to create just such a thing. Didn't even
require a C implementation, just a bit of metaprogramming with the
object internals.
<http://stackoverflow.com/questions/4828080/how-to-make-an-immutable-object-in-python>
cheers,
Hugh
More information about the linux
mailing list