[Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7 (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Thu Jul 15 01:26:05 CEST 2010
- Previous message: [Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7
- Next message: [Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7
- Next message: [Python-Dev] str(memoryview('abc')) != 'abc' in Python 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]