]> granicus.if.org Git - python/commit
SF #1777057, fix memoryview('test') so it works in debug mode too.
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 19 Aug 2007 18:38:46 +0000 (18:38 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 19 Aug 2007 18:38:46 +0000 (18:38 +0000)
commit666bb419cb28b799794350abdc9d5a15e1dfc5dc
treeec488dc5ebd66ce45d304ec1999a9c4b3d41e527
parent9604286ee129357d59522a2a1e95b4e0668c85cd
SF #1777057, fix memoryview('test') so it works in debug mode too.

Also return a boolean for the readonly flag.

Other cleanup: make sure to set an exception when returning NULL and
reformat the getsets to be shorter by putting them all on one line.
Objects/memoryobject.c