This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jakirkham
Recipients jakirkham
Date 2020-07-06.21:19:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594070396.59.0.711560769808.issue41223@roundup.psfhosted.org>
In-reply-to
Content
When working with an `object`-backed `memoryview`, it seems we are unable to coerce it to a `list`. This would be useful as it would provide a way to get the underlying `object`'s into something a bit easier to work with.

```
In [1]: import numpy                                                            

In [2]: a = numpy.array(["abc", "def", "ghi"], dtype=object)                    

In [3]: m = memoryview(a)                                                       

In [4]: m.tolist()                                                              
---------------------------------------------------------------------------
NotImplementedError                       Traceback (most recent call last)
<ipython-input-4-42400a31add8> in <module>
----> 1 m.tolist()

NotImplementedError: memoryview: format O not supported
```
History
Date User Action Args
2020-07-06 21:19:56jakirkhamsetrecipients: + jakirkham
2020-07-06 21:19:56jakirkhamsetmessageid: <1594070396.59.0.711560769808.issue41223@roundup.psfhosted.org>
2020-07-06 21:19:56jakirkhamlinkissue41223 messages
2020-07-06 21:19:56jakirkhamcreate