Commit Graph

26 Commits

Author SHA1 Message Date
Jeong YunWon
7b6ab8da72 Replace vm.new_{int,str,bool} with vm.new_pyobj 2020-08-10 02:16:29 +09:00
Jeong YunWon
ab37e455f3 BorrowValue for PyString 2020-08-09 14:14:55 +09:00
Jeong YunWon
a77e78d3e1 BorrowValue for bytes 2020-08-09 13:44:32 +09:00
Ben Lewis
dc994e3c6f Accept array as byte like/buffer. 2020-08-08 08:50:40 +12:00
Jeong YunWon
61455ce261 Separate IntoPyObject and IntoPyResult 2020-08-04 22:59:34 +09:00
clemado1
123eefd87f Allow None parameter for remove, index, count method of array 2020-07-30 10:36:53 +09:00
Noah
39303f0567 Transition more files to use PyMutex/PyRwLock 2020-07-25 15:22:03 -04:00
clemado1
53a116f9f1 Implement remove method of array 2020-07-19 16:31:07 +09:00
qodot
72a78ff542 Implement lt, le, gt, ge method of array 2020-07-16 22:58:54 +09:00
Noah
ebab829f60 Switch to using parking_lot::Mutex instead of std::sync::Mutex 2020-07-04 22:58:18 -05:00
Aviv Palivoda
fb5862da91 Remove ThreadSafe trait 2020-05-16 13:58:10 +03:00
Aviv Palivoda
f448654229 Make PyArrayIter ThreadSafe 2020-05-09 10:45:12 +03:00
Aviv Palivoda
094fc9d8a8 Make PyArray ThreadSafe 2020-04-11 15:39:59 +03:00
Jeong YunWon
3c96442068 Fix array insert, Add array setitem 2020-03-08 12:59:23 +09:00
Jeong YunWon
0eaf3731e9 memoryview/array support for int() 2020-02-29 11:32:29 +09:00
Jeong YunWon
6ddb690e09 Remove _vm parameter when it is not required 2020-02-06 11:07:51 +09:00
Jeong YunWon
7fd92fcc71 Py_TPFLAGS_BASETYPE 2020-01-30 16:32:09 +09:00
Jeong YunWon
8c7e01b4f6 pyslot guess slot name from function name 2020-01-15 10:28:39 +09:00
coolreader18
8746f29d3b Fix sre_compile._bytes_to_code 2019-10-02 22:09:31 -05:00
Noah
d22cac2dd8 Rename new slots to tp_new 2019-09-29 23:14:37 -05:00
coolreader18
c46b5b50bd Fix weirdness with type.__new__()/type()/metaclass.__new__() 2019-09-29 23:14:31 -05:00
coolreader18
c3f64a3025 Add array tests, array.__eq__, array.__iter__ 2019-08-24 22:28:17 -05:00
coolreader18
825ee4bc7c Fix tests/clippy 2019-08-23 17:52:38 -05:00
coolreader18
3a15121324 Add TODO 2019-08-23 17:34:56 -05:00
coolreader18
ab4aeece96 Add array.__getitem__ 2019-08-23 17:34:56 -05:00
coolreader18
b8eba6abe3 Add the array module 2019-08-23 17:34:52 -05:00