Commit Graph

9749 Commits

Author SHA1 Message Date
Jim Fasarakis-Hilliard
69f436378d Merge pull request #3322 from deantvv/io-error-builder-doc
update doc for IOErrorBuilder
2021-10-16 19:08:23 +03:00
Jim Fasarakis-Hilliard
dd747a6920 Merge pull request #3320 from DimitrisJim/allow_objects_meta
Allow non-types as metaclass argument.
2021-10-16 19:07:32 +03:00
Jeong YunWon
634032a2e1 Merge pull request #3321 from deantvv/iss-3319
posix: add os.SCHED_* for macos
2021-10-17 00:27:09 +09:00
Dean Li
98007094f6 update doc for IOErrorBuilder 2021-10-16 22:59:25 +08:00
Dean Li
69771724c6 posix: add os.SCHED_* for macos 2021-10-16 22:30:44 +08:00
jfh
d2f0f94dee Allow non-types as metaclass argument. 2021-10-16 15:02:11 +03:00
Jim Fasarakis-Hilliard
f0280dabb8 Merge pull request #3290 from tony-jinwoo-ahn/_range
Modify range in pytype.rs
2021-10-16 13:30:26 +03:00
Tony Jinwoo Ahn
fcf07fcf9f Modify range in pytype.rs
For readability, replace exclusive range with inclusive range.
2021-10-16 18:56:40 +09:00
Jim Fasarakis-Hilliard
45290b1553 Merge pull request #3314 from DimitrisJim/mapping_locals
Allow any mapping for locals.
2021-10-16 12:34:58 +03:00
jfh
94b9163297 Use PyMapping, fix handling of __prepare__. 2021-10-16 09:57:02 +03:00
Steve Shi
723357962a Refactor list avoid duplicate the vec (#3241)
* list count bench
* Refactor list count avoid duplicate the vec
* optimize list count with HEAPTYPE flag
* introduce generic safe iter functions for list
* Refactor list functions (contains, index, remove)
* Refactor list iter functions with const generics
* optimize list with richcompare
* optimize list iter_equal
2021-10-16 13:16:45 +09:00
Jim Fasarakis-Hilliard
3ab48baf10 Merge pull request #3317 from RustPython/fix-doc-links
Fix intra doc links
2021-10-16 06:47:32 +03:00
Noa
a6e2b10296 Fix intra doc links 2021-10-15 14:25:38 -05:00
jfh
dce45825ae Allow any mapping for locals. 2021-10-15 17:34:52 +03:00
Jeong YunWon
8df1c573e5 Merge pull request #3313 from DimitrisJim/mapping_check
Check if subscript is present for PyMapping::check.
2021-10-15 19:43:01 +09:00
Jeong YunWon
0ad892b9a4 Merge pull request #3308 from youknowone/fix-hash
Fix __hash__ not to perform unnecessary downcast
2021-10-15 17:19:06 +09:00
Jeong YunWon
490a39e0d3 Merge pull request #3312 from youknowone/ci-tsets
CI runs platform-independent and platform-dependent tests separately
2021-10-15 16:48:22 +09:00
Jeong YunWon
42912a36a1 No downcast for unhashable 2021-10-15 16:32:05 +09:00
Jeong YunWon
97623b4e72 Fix __hash__ not to perform unnecessary downcast 2021-10-15 16:32:00 +09:00
Jeong YunWon
4075d5ebb6 CI runs platform-independent and platform-dependent tests separately 2021-10-15 15:54:23 +09:00
jfh
9b63c50446 Check if subscript is present for PyMapping::check. 2021-10-15 09:46:18 +03:00
Jim Fasarakis-Hilliard
4ede6b1510 Merge pull request #3311 from pheki/recursion-limit
Guarantee recursion_depth is never higher than recursion_limit
2021-10-15 09:16:57 +03:00
Aphek
773305022f Guarantee recursion_depth is never higher than recursion_limit 2021-10-15 02:31:07 -03:00
Jim Fasarakis-Hilliard
dfd3d574e5 Merge pull request #3310 from youknowone/as-mapping-never-fail
as_mapping never fails
2021-10-15 06:39:39 +03:00
Jim Fasarakis-Hilliard
8f404c7890 Merge pull request #3199 from tony-jinwoo-ahn/pdc
Fix misspelled variable
2021-10-15 06:15:15 +03:00
Jim Fasarakis-Hilliard
2cf6bbbfa7 Merge pull request #3309 from youknowone/ci-with-backtrace
Run tests with RUST_BACKTRACE envvar
2021-10-15 06:14:39 +03:00
Jeong YunWon
77e33c5338 slot_as_mapping never fails 2021-10-15 05:59:05 +09:00
Jeong YunWon
22b3679529 as_mapping never fails 2021-10-15 05:45:54 +09:00
Jeong YunWon
0da02973d5 Run tests with RUST_BACKTRACE envvar 2021-10-15 05:04:24 +09:00
Jeong Yunwon
0d2e20363a Fix windows build error 2021-10-15 04:47:10 +09:00
Jeong YunWon
32bff214a4 Merge pull request #3304 from youknowone/msvcrt
msvcrt uses #[pymodule]
2021-10-15 04:04:37 +09:00
Jeong YunWon
8c42d0469c msvcrt uses #[pymodule] 2021-10-15 04:04:16 +09:00
Jeong YunWon
6c318f2de8 Merge pull request #3305 from youknowone/less-pymodule
replace py_module! from errno and sysconfigdata
2021-10-15 04:03:36 +09:00
Jeong YunWon
718de8fc37 Merge pull request #3303 from youknowone/winreg
`winreg` uses `#[pymodule]`
2021-10-15 02:38:54 +09:00
Jeong Yunwon
63c5830d90 skip unstable test 2021-10-15 02:38:13 +09:00
Jeong YunWon
25e715e300 winreg uses #[pymodule] 2021-10-15 02:38:13 +09:00
Jeong YunWon
806c81b628 winreg constants to #[pymodule] 2021-10-15 02:38:13 +09:00
Jeong YunWon
de3df09e0e Merge pull request #3222 from youknowone/slots
clean up Callable and mark inline for slot methods
2021-10-15 02:16:03 +09:00
Jeong YunWon
b9ffa93eb1 replace py_module! from errno and sysconfigdata 2021-10-15 02:11:35 +09:00
Jeong YunWon
3cfd350628 fix fmt 2021-10-15 02:01:41 +09:00
Jeong YunWon
9bd9a007e9 Merge pull request #3302 from youknowone/winapi
_winapi uses #[pymodule]
2021-10-15 01:59:48 +09:00
Jeong YunWon
67a2110073 _winapi uses #[pymodule] 2021-10-15 01:28:23 +09:00
Jeong YunWon
b581d8303e _winapi constants to #[pymodule] 2021-10-15 01:26:49 +09:00
Jim Fasarakis-Hilliard
8f0d538635 Merge pull request #3300 from youknowone/part-3204
unskip tests
2021-10-14 18:50:48 +03:00
Padraic Fanning
bb1947eb9d Clarify skip in test_math 2021-10-15 00:09:50 +09:00
Padraic Fanning
d5aa68d7b5 Clean up skips in test_itertools 2021-10-15 00:09:50 +09:00
Padraic Fanning
605f58c158 Clarify skip in test_isinstance 2021-10-15 00:09:49 +09:00
Padraic Fanning
4e21df2c3b Clean up skips in test_io 2021-10-15 00:09:49 +09:00
Padraic Fanning
122ddeb6fc Clean up skips in test_gzip 2021-10-15 00:09:49 +09:00
Padraic Fanning
a32007831a Clean up skips in test_ftplib 2021-10-15 00:09:49 +09:00