[pypy-issue] Issue #3016: AttributeError: 'memoryview' object has no attribute 'obj' (pypy/pypy)
piotrjurkiewicz at bitbucket.org
piotrjurkiewicz at bitbucket.org
Sat May 18 17:05:17 EDT 2019
New issue 3016: AttributeError: 'memoryview' object has no attribute 'obj'
https://bitbucket.org/pypy/pypy/issues/3016/attributeerror-memoryview-object-has-no
Piotr Jurkiewicz:
Apparently there is no attribute `obj` in `memoryview`, which points to the underlying object of the `memoryview`.
```
Traceback (most recent call last):
File "/usr/lib/pypy3/lib-python/3/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/pypy3/lib-python/3/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/jurkiew/flow_stats/flow_stats/convert.py", line 50, in <module>
File "/home/jurkiew/flow_stats/flow_stats/convert.py", line 46, in main
File "/home/jurkiew/flow_stats/flow_stats/convert.py", line 26, in convert
for flow in reader(file):
File "/home/jurkiew/flow_stats/flow_stats/lib/io.py", line 158, in read_arrays
obj = mv.obj
AttributeError: 'memoryview' object has no attribute 'obj'
```
More information about the pypy-issue
mailing list