]> granicus.if.org Git - python/commit
Removed memoryview objects from bytes_types.
authorAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 3 May 2008 01:42:49 +0000 (01:42 +0000)
committerAlexandre Vassalotti <alexandre@peadrop.com>
Sat, 3 May 2008 01:42:49 +0000 (01:42 +0000)
commit8cb02b6000c66478406c12270a9f86e39fd20305
treee5fc40990babb1f73000bda5de18dfbceed23136
parent3fe8216f338317089aa727241f70de71681f2e0a
Removed memoryview objects from bytes_types.

memoryview objects have a different API (such as for indexing) than
bytes and bytesarray objects, so memoryview objects shouldn't be
treated blindly as "bytes" objects.
Lib/pickle.py