jeanpaul calderone mhmhlmqdivmodcom wed 30 apr 2008 095125 0700 guido van rossum wrote wed apr 30 2008 936 farshid lashkari wrote curious cstringio objects dont implement buffer interface cstringio objects seem similar string array objects support buffer protocol reason allowing cstringio support least read buffer interface nobody considered well one would mean could longer exchange stringio instance cstringio instance would probably mean one incompatibility cstringio stringio already cant exchange number cases handle unicode differently different methods etc maybe making diverge even step wrong direction though also whats compelling use case youre thinking im sure usecase farshid lashkari twisted considered way reduce peak memory usage reducing need memory copying also speeds things im sure anyone benchmarked yet dont know real win think thomas hervé patch cstringio implements feature though reference isnt high priority list thought id point potential usecase jeanpaul _______________________________________________ pythondev mailing list pythondevpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 010918 0400 pythondev cstringio buffer interface