[Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7

Nick Coghlan ncoghlan at gmail.com
Thu Jul 15 01:26:05 CEST 2010


I wouldn't assume so - memoryview is meant to eventually support more
than just 1-D views of contiguous memory (see PEP 3118), so that
conversion doesn't seem intuitive to me.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list