Python String Immutability Broken!
Simon Brunning
simon at brunningonline.net
Mon Aug 25 06:15:56 EDT 2008
2008/8/25 Hendrik van Rooyen <mail at microcorp.co.za>:
> It is reputed to belong to a programmer who was flayed alive
> by the C.L.P. group, because he had violated the immutability
> of a python string.
You can indeed use ctypes to modify the value of a string - see
<http://tinyurl.com/5hcnwl>. You can use it to crash the OS, too.
My advice - don't.
--
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns
More information about the Python-list
mailing list