Message360818
I went through Python, `array` seems to not break the logic. pickling has a comment which specifically wants to run into the argument parsing corner case above (I am not sure that it is really important). However, `Modules/_testbuffer.c` (which is just test) actually does allocate new memory for the buffer!
I can be convinced that this is how it is supposed to be, but right now I am still not quite. The main idea is efficient no-copy data sharing. It is always possible to create a `to_memoryview()` method if a realloc was desired/necessary... |
|
Date |
User |
Action |
Args |
2020-01-27 22:39:18 | seberg | set | recipients:
+ seberg |
2020-01-27 22:39:18 | seberg | set | messageid: <1580164758.79.0.779286735709.issue39471@roundup.psfhosted.org> |
2020-01-27 22:39:18 | seberg | link | issue39471 messages |
2020-01-27 22:39:18 | seberg | create | |
|