24 Commits

Author SHA1 Message Date
Jeong YunWon
3073947a8b mark failing test_memoryview tests 2022-08-15 04:24:58 +09:00
CPython Developers
b5dcd61b58 Update test_memoryview from CPython 3.10.6 2022-08-15 04:24:58 +09:00
CPython developers
c7a5b960be Update test_memoryview from CPython 3.10.5 2022-07-18 04:07:35 +09:00
Dean Li
6f98288e84 test: use import_helper 2021-11-29 21:03:02 +08:00
Noa
e51cb82ff0 Unskip tests 2021-11-15 16:08:46 -06:00
Steve Shi
742ea0c4fa Reimpl Buffer Protocol and memoryview support ndarray with shape, stride and suboffset (#3340)
* Fix buffer protocol and memoryview

* Fix io and array the right way to use buffer protocol

* fix rebase

* fix memoryview and introduce VecBuffer

* fix deadlock

* fix memoryview avoid double release buffer

* impl ndim buffer support

* first implement nd array for buffer and memoryview

* fix slice adjust_indices

* fix adjust_indices introduct SaturatedSliceIterator

* fix memoryview cmp

* fix adjust_indices positive_order

* fix bug mark passed test

* fix clippy

* fix set_item_slice deadlock, optimize buffer

* Delete @test_113974_tmp

* Remove vec_buffer_type

* rusty names

* impl memoryview multi index

* add comments

Co-authored-by: Jeong YunWon <jeong@youknowone.org>
2021-11-13 07:17:11 +02:00
Padraic Fanning
e25941a5f8 Unskip test(s) in test_memoryview 2021-02-25 21:46:00 -05:00
Padraic Fanning
5996bafae0 Explain test_gc skip 2021-02-07 15:49:42 -05:00
Noah
f428fcc692 unskip tests 2021-01-25 18:28:18 -06:00
Kangzhi Shi
44048f60cb Implement memoryview cast 2020-12-27 19:03:05 +02:00
hyperbora
928fbcda50 fix memoryview compare 2020-12-07 21:58:54 +09:00
Jeong YunWon
b230045677 Merge pull request #2299 from qingshi163/memoryview_hash
Implement memoryview hash
2020-10-25 13:51:09 +09:00
Kangzhi Shi
b38d278f91 memoryview constructor args 2020-10-22 16:45:30 +02:00
Kangzhi Shi
101d8c8dc1 memoryview hash 2020-10-22 13:17:54 +02:00
Kangzhi Shi
ce097617f7 fix memoryview is not pickleable 2020-10-17 13:35:29 +02:00
Kangzhi Shi
6058d653a8 memoryview hex 2020-10-10 17:01:00 +09:00
Kangzhi Shi
b48c5a2b52 BytesIO getbuffer; no more hack for pickle.py 2020-10-10 17:01:00 +09:00
Kangzhi Shi
3fe8a30ca0 bytesinner from pytuple 2020-10-10 17:01:00 +09:00
Kangzhi Shi
275b727e9d memoryview __setitem__ 2020-10-10 17:01:00 +09:00
Kangzhi Shi
cf3572385c Fix more to pass unittest 2020-10-10 17:00:57 +09:00
Kangzhi Shi
499d99794c Implement Buffer Protocol 2020-10-10 16:57:19 +09:00
Noah
b245712949 Fix some 32-bit only oom tests + others 2020-06-06 17:14:32 -05:00
Jeong YunWon
b9f2b87758 Mark failing tests from test_memoryview.py 2020-03-08 05:53:30 +09:00
CPython dev
4a329bdc65 Lib/test/test_memoryview.py from CPython 3.8.2 2020-03-08 05:53:30 +09:00