Jeong Yunwon
|
625f8675ae
|
Introduce AsPyObject to replace IdProtocol
|
2022-04-17 10:32:01 +09:00 |
|
Jeong Yunwon
|
828c28ebb8
|
Replace vm.extract_elements with TryFromBorrowedObject
|
2022-04-17 06:09:45 +09:00 |
|
Jeong Yunwon
|
60e0e5f95d
|
Refactor try_value_with
|
2022-04-17 06:09:45 +09:00 |
|
Jeong Yunwon
|
be9aaf71a6
|
Move _struct module to stdlib
|
2022-04-17 02:00:07 +09:00 |
|
Jeong Yunwon
|
86a8831124
|
vm::funciton::arithmetic
|
2022-04-16 00:49:05 +09:00 |
|
Jeong Yunwon
|
475d04c67e
|
IntoPyRef to vm::function
|
2022-04-16 00:46:37 +09:00 |
|
Jeong Yunwon
|
a5b36e1937
|
split pyobject.rs
|
2022-04-16 00:45:19 +09:00 |
|
Jeong Yunwon
|
6357a1acbe
|
clean up imports and useless allow attributes
|
2022-04-15 23:58:20 +09:00 |
|
Jeong Yunwon
|
15b4205d1a
|
use unsigned_abs()
|
2022-04-15 20:24:55 +09:00 |
|
Jeong Yunwon
|
3629ce5cd7
|
rename non-protocol PySequence to ArgSequence to avoid confusion
|
2022-04-14 03:26:38 +09:00 |
|
Jeong YunWon
|
79b3633654
|
Merge pull request #3596 from hwi-ya/add_constant
add missing constants
|
2022-04-10 14:21:35 +09:00 |
|
himmelmin
|
b0fa2d2b62
|
Add select.error (#3599)
|
2022-04-10 13:35:07 +09:00 |
|
hwi-ya
|
dcbaecab9a
|
add missing constants
|
2022-04-10 10:20:04 +09:00 |
|
jeon-yongjun
|
aa8a3afb81
|
Add missing constants
|
2022-04-09 21:00:32 +09:00 |
|
himmelmin
|
735856fabc
|
Add missing constants
|
2022-04-09 19:29:51 +09:00 |
|
simbajisu
|
6117d3ab5a
|
add missing constants
|
2022-04-09 17:07:45 +09:00 |
|
gilteunchoi
|
7800853d1b
|
fix arguments handling of compress and decompress functions
Signed-off-by: gilteunchoi <gilteunchoi@gmail.com>
|
2022-03-13 18:04:24 +09:00 |
|
Kangzhi Shi
|
7b8c4091b5
|
fix hang on __index__
|
2022-03-12 16:12:34 +09:00 |
|
Kangzhi Shi
|
6b17fa1d3d
|
fix rebase
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
e3247dae7a
|
refactor use SliceableSequence for array
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
01a8e01ec8
|
refactor BufferResizeGuard
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
4be3c4f598
|
refactor PySliceableSequence -> SlicableSequenceOp
|
2022-03-12 16:12:12 +09:00 |
|
Kangzhi Shi
|
b4907f0703
|
refactor sliceable incomplete sequence protocol for list
|
2022-03-12 16:12:12 +09:00 |
|
Padraic Fanning
|
88e0f13993
|
Fix unnecessary_lazy_evaluations Clippy warning
|
2022-02-25 19:33:52 -05:00 |
|
Padraic Fanning
|
19d4a2b17b
|
Add statistics accelerator module
|
2022-02-12 23:27:36 -05:00 |
|
snowapril
|
04306973ed
|
Fix getrandbits to check negative
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2022-02-06 14:56:39 +09:00 |
|
David CARLIER
|
44222e562e
|
fcntl module update proposal apple and freebsd specific flags.
|
2022-01-23 23:29:02 +00:00 |
|
Noa
|
c97e238fd0
|
Merge pull request #3486 from afpro/main
fix android ssl import error (PyBaseExceptionRef/VirtualMachine/conve…
|
2022-01-22 01:51:16 -06:00 |
|
Padraic Fanning
|
0d979d8b3e
|
Allow random.getrandbits(0)
|
2022-01-16 20:23:40 -05:00 |
|
Padraic Fanning
|
6b795a7e49
|
Deduplicate random.randbytes
random.randbytes() is now in random.py
|
2022-01-16 16:18:06 -05:00 |
|
Jeong YunWon
|
38513cb468
|
Merge pull request #3462 from qingshi163/mapping-protocol2
Refactor Mapping Protocol and Item Protocol
|
2021-12-03 21:18:25 +09:00 |
|
Kangzhi Shi
|
6a996b04c8
|
move obj downcast to AsMapping
|
2021-12-01 20:16:18 +02:00 |
|
afpro
|
f3ea13df6f
|
fix android ssl import error (PyBaseExceptionRef/VirtualMachine/convert_openssl_error)
|
2021-11-30 16:04:55 +08:00 |
|
snowapril
|
1aa750b1e4
|
Remove keyword module from rust-side
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-11-29 23:40:24 +09:00 |
|
Jeong YunWon
|
1269c7fc28
|
Merge pull request #3474 from TeamTamoad/hashlib
feat(hashlib): add usedforsecurity kwarg to hash functions
|
2021-11-29 20:01:19 +09:00 |
|
Narawit Rakket
|
7e3bbbb38c
|
feat(hashlib): add usedforsecurity kwarg to hash functions
|
2021-11-29 16:49:38 +07:00 |
|
Jeong YunWon
|
d622ceb9dc
|
rename native dis to _dis and add python module
|
2021-11-28 15:50:24 +09:00 |
|
Kangzhi Shi
|
9a2eef6fab
|
fix compile
|
2021-11-27 13:49:05 +02:00 |
|
Kangzhi Shi
|
ca4e8f50e8
|
refactor ItemProtocol -> Object Protocol
|
2021-11-27 13:00:37 +02:00 |
|
Steve Shi
|
908b239572
|
Refactor and new sequence traits, generic sequence operation (#3445)
* refactor sequence generic mutable sequence item equal op
* sequence generic for pydeque
* replace usize::MAX with Optioned
* sequence op for array
* fix overflow error instead memory error for index overflow
* fixup
* optimize reserve vec for imul
|
2021-11-22 09:21:23 +02:00 |
|
Noa
|
e42a3ca48e
|
Big overhaul part 1 - replace PyRc with manual RefCount + WeakRefList
|
2021-11-15 16:08:45 -06:00 |
|
Jeong YunWon
|
e7fa32c687
|
Merge pull request #3402 from Snowapril/refactor_exceptions
Refactor duplicated codes in exception creations
|
2021-11-16 02:45:30 +09: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 |
|
snowapril
|
ab1693e131
|
Replace new_class to new_exception_type
Replace `new_class` method call for module-level exceptions to newly
added `new_exception_type`
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-11-12 21:40:26 +09:00 |
|
snowapril
|
fee42a1074
|
Add docs for each error in ssl module
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-11-12 21:40:26 +09:00 |
|
snowapril
|
5e8d3bcacb
|
Remove duplicated static_cell! stmts in each modules
Signed-off-by: snowapril <sinjihng@gmail.com>
|
2021-11-12 21:40:26 +09:00 |
|
David Carlier
|
d6e89301a5
|
netbsd/openbsd build fix
|
2021-11-07 12:48:34 +00:00 |
|
David Carlier
|
cf7b6eeec1
|
fix freebsd build wrong imports
|
2021-11-06 11:24:00 +00:00 |
|
jfh
|
05c4fcf934
|
Allow any object as an argument for random.seed
|
2021-11-04 18:34:20 +02:00 |
|
Noa
|
f01a7b17c4
|
Upgrade nix
|
2021-11-03 13:28:41 -05:00 |
|