Re: Python String Immutability Broken!

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon Brunning

    Re: Python String Immutability Broken!

    2008/8/25 Hendrik van Rooyen <mail@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@brunningo nline.net

    GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns
Working...