guido van rossum hoaufpythonorg wed apr 2 2008 247 pm amaury forgeot darc wrote stop im wrong thought bytes objects immutable based pystringtype right 30a1 mutable thats probably examples come surprised code test_socketpy buf b 1024 nbytes selfcli_connrecv_intobuf shouldnt work getargsc case w memory buffer readwrite access temp pbbf_getbufferarg view pybuf_simple 0 id expect pybuf_readonly stringobjectc static int string_buffer_getbufferpystringobject self py_buffer view int flags return pybuffer_fillinfoview void selfob_sval py_sizeself 0 flags zero readonly parameter wrong ever writes bytespystring objects yes wrong guido van rossum home page httpwwwpythonorgguido _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom wed 06 aug 2008 230723 0700 python3000 bytes object really immutable