[New-bugs-announce] [issue34201] Make ndarray.readonly a bool
Serhiy Storchaka
report at bugs.python.org
Mon Jul 23 10:01:22 EDT 2018
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
memoryview.readonly is a bool, but ndarray.readonly is an int 0 or 1. The proposed PR makes ndarray.readonly a bool and makes test_buffer using more strict assertIs() instead of assertEqual() for testing boolean values.
----------
components: Tests
messages: 322221
nosy: serhiy.storchaka, skrah
priority: normal
severity: normal
status: open
title: Make ndarray.readonly a bool
type: enhancement
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34201>
_______________________________________
More information about the New-bugs-announce
mailing list