[issue34201] Make ndarray.readonly a bool

2018-07-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +8004 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34201] Make ndarray.readonly a bool

2018-07-26 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34201] Make ndarray.readonly a bool

2018-07-26 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e0d67f17ccb4645ff88c9a018679b8a5b4fe0a7e by Serhiy Storchaka in branch 'master': bpo-34201: Make ndarray.readonly a bool and use stricter tests in test_buffer. (GH-8414) https://github.com/python/cpython/commit/e0d67f17ccb4645ff88c9a018679b8a

[issue34201] Make ndarray.readonly a bool

2018-07-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +7940 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34201] Make ndarray.readonly a bool

2018-07-23 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : 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 messa