Kangzhi Shi
5f0a58fbc6
impl sequence protocol for mappingproxy
2022-03-12 16:12:12 +09:00
Kangzhi Shi
52b458d524
refactor length now use sequence and mapping protocol
2022-03-12 16:12:12 +09:00
Kangzhi Shi
dc31fd3901
introduce slot_length for heap type __len__
2022-03-12 16:12:12 +09:00
Kangzhi Shi
141679c1c0
introduce extract extract_cloned
2022-03-12 16:12:12 +09:00
Kangzhi Shi
2078f58e26
fix PySequence::list return PyList
2022-03-12 16:12:12 +09:00
Kangzhi Shi
82f783e12a
fix PySequence::tuple return PyTupleRef
2022-03-12 16:12:12 +09:00
Kangzhi Shi
306a7c6251
lazy sequence methods and PySequence doesn't take ownership
2022-03-12 16:12:12 +09:00
Kangzhi Shi
410ca13743
constant sequence methods
2022-03-12 16:12:12 +09:00
Kangzhi Shi
937375ad5b
introduce obj_as
2022-03-12 16:12:12 +09:00
Kangzhi Shi
dd5774c8b4
fix rebase
2022-03-12 16:12:12 +09:00
Kangzhi Shi
044fbd8adf
fix memoryview sequence protocol check released
2022-03-12 16:12:12 +09:00
Kangzhi Shi
7bc2d0e1c0
fix PySequenceIterator to use sequence protocol
2022-03-12 16:12:12 +09:00
Kangzhi Shi
6e4ecd6cf2
Impl sequence protocol for bytearray
2022-03-12 16:12:12 +09:00
Kangzhi Shi
25af549495
Impl squence protocol for bytes
2022-03-12 16:12:12 +09:00
Kangzhi Shi
9cb53919d1
fix sequence_wrapper
2022-03-12 16:12:12 +09:00
Kangzhi Shi
c460f06f6e
fix error string
2022-03-12 16:12:12 +09:00
Kangzhi Shi
bb7469ce9b
Impl PySequence contains, count and index
2022-03-12 16:12:12 +09:00
Kangzhi Shi
e40894a274
Fix iter protocol now try use sequence protocol is no iter slot
2022-03-12 16:12:12 +09:00
Kangzhi Shi
13f40ec225
Impl PySequece to tuple and list
2022-03-12 16:12:12 +09:00
Kangzhi Shi
b084ca0efb
Impl PySequence functions
2022-03-12 16:12:12 +09:00
Kangzhi Shi
a699bce716
Impl PySequence Protocol
2022-03-12 16:12:12 +09:00
Jeong YunWon
e0b1e56d66
Merge pull request #3570 from youknowone/fix-clippy
...
Fix clippy warning for derive
2022-03-12 14:55:58 +09:00
Jeong YunWon
09265f96d1
Merge pull request #3569 from youknowone/ci
...
fix exotic targets ci
2022-03-12 05:14:46 +09:00
Jeong YunWon
45015dfedc
Fix clippy warning for derive
2022-03-12 05:13:29 +09:00
Jeong YunWon
c351caebe9
fix exotic targets ci
2022-03-12 04:59:17 +09:00
Noa
48fa217c43
Merge pull request #3562 from fanninpm/new-clippy-lints-1.59
...
Fix Clippy lints introduced in Rust 1.59
2022-02-27 14:13:36 -06:00
Padraic Fanning
edbc17fb38
Skip flaky test
2022-02-25 19:33:53 -05:00
Padraic Fanning
29048b105e
Fix needless_late_init Clippy warning
2022-02-25 19:33:52 -05:00
Padraic Fanning
0abcd4c0aa
Fix unwrap_or_else_default Clippy warning
2022-02-25 19:33:52 -05:00
Padraic Fanning
88e0f13993
Fix unnecessary_lazy_evaluations Clippy warning
2022-02-25 19:33:52 -05:00
Padraic Fanning
6d1ea6d996
Fix let_underscore_lock Clippy errror
2022-02-25 19:33:51 -05:00
Noa
35cd720949
Merge pull request #3560 from deantvv/os-device-encoding-wasi
...
os: add `device_encoding` to wasi
2022-02-24 22:51:02 -06:00
Dean Li
68b9d38fc6
os: add device_encoding to wasi
...
Update `libc` to 0.2.119 to include [libc PR#2683](https://github.com/rust-lang/libc/pull/2683 ) which added support `device_encoding` on wasi.
2022-02-24 20:41:31 +08:00
Jeong YunWon
ab502174f3
Merge pull request #3558 from fanninpm/codecs-3.10
...
Update codecs.py to CPython 3.10
2022-02-24 18:30:53 +09:00
Jeong YunWon
ef90d09950
Merge pull request #3506 from jakearmendariz/main
...
Marshaling support for ints, floats, strs, lists, dicts, tuples
2022-02-21 23:45:38 +09:00
Jake Armendariz
502d5c217d
Changes to code/style of marshaling module
2022-02-21 02:12:49 -08:00
Jeong YunWon
d1eb4d0e65
Merge pull request #3559 from fanninpm/errno-3.10
...
Update errno module to CPython 3.10
2022-02-20 18:45:04 +09:00
Padraic Fanning
37f62bb9f6
Fix platforms for errno.EDEADLOCK
2022-02-19 20:12:17 -05:00
Padraic Fanning
f87e557e20
Update errno module to CPython 3.10
...
Some constants have also been reordered to reflect the order in the
original C source.
2022-02-19 19:54:53 -05:00
Padraic Fanning
ead652b112
Mark erroring test on Windows
2022-02-19 14:21:44 -05:00
Padraic Fanning
f603371f08
Mark erroring/failing tests
2022-02-18 22:10:23 -05:00
Padraic Fanning
98d8ccb350
Add _codecs.unregister()
2022-02-18 22:00:09 -05:00
Padraic Fanning
a702ae69c7
Update test_codecs to CPython 3.10
2022-02-18 21:55:04 -05:00
Padraic Fanning
ad13373fdb
Update codecs.py to CPython 3.10
2022-02-18 21:36:24 -05:00
Jeong YunWon
ccb24341c5
Merge pull request #3555 from Snowapril/remove_complex_methods
...
Remove several special method of complex class
2022-02-19 02:31:54 +09:00
Jeong YunWon
fae4a63230
Merge pull request #3557 from Erigara/fix-online-doc-url
...
Fix online documentation URL in README.md
2022-02-19 02:31:27 +09:00
Shanin Roman
33d48bd5e8
Fix online documentation URL in README.md
2022-02-18 15:00:13 +03:00
snowapril
3c64486431
Update test_complex.py to cpython 3.10
2022-02-18 17:46:10 +09:00
Snowapril
9bb0831b50
Remove several special method of complex class
...
According to Cpython 3.10 changes, some special methods of complex class
(`__int__`, `__float__`, etc) are removed as they always raise `TypeError`.
(reference : https://bugs.python.org/issue41974 )
2022-02-18 03:10:05 +00:00
Jeong YunWon
866d06fefe
Merge pull request #3553 from fanninpm/test-support-threading-helper
...
Add CPython 3.10's test/support/threading_helper
2022-02-14 15:00:59 +09:00