Alex Burck
f5fcbfa7f7
Copy filecmp module and tests from cpython v3.10.2
2022-01-23 21:49:43 -06:00
Hackerwins
f46dd59c91
Remove unexpected successes in test_shlex
2022-01-22 17:32:31 +09:00
Hackerwins
494fc43711
Use staticmethod in macros
2022-01-22 17:32:26 +09:00
Jeong YunWon
e3fb3f1367
Merge pull request #3479 from chrismoradi/fix-abstractmethods
...
Fix __isabstractmethod__ for class/static methods and properties
2022-01-22 16:50:35 +09:00
Padraic Fanning
344539f5c3
Unmark passing test
2022-01-17 11:19:46 -05:00
Padraic Fanning
d347dbb01e
Update shlex.py to CPython 3.9
2022-01-17 11:14:43 -05:00
Padraic Fanning
65cb692810
Update test_shlex.py to CPython 3.9
2022-01-17 11:13:36 -05:00
Padraic Fanning
4f6486da19
Unmark passing tests
2022-01-16 20:43:55 -05:00
Padraic Fanning
a4ef5f0fd1
Mark erroring tests
2022-01-16 20:39:26 -05:00
Padraic Fanning
e766513ad3
Update random.py to CPython 3.9*
...
*for the most part, and keeps our annotations
2022-01-16 14:24:25 -05:00
Padraic Fanning
d59042912e
Update test_random.py to CPython 3.9
2022-01-16 13:59:10 -05:00
Noa
db3b3127df
Merge pull request #3488 from deantvv/frozen-import-helper
...
import_helper: refactor `frozen_modules`
2021-12-09 11:32:22 -06:00
Jeong YunWon
40991b9645
Merge pull request #3489 from TeamTamoad/uuid-3.9
...
Update uuid to version 3.9.9
2021-12-02 01:28:56 +09:00
Narawit Rakket
bc1bbc06dd
test(uuid): remove unnecessary expectedFailure from test_uuid
2021-12-01 20:01:05 +07:00
Narawit Rakket
16a048a552
feat(uuid): update uuid to version 3.9.9
2021-12-01 20:00:48 +07:00
Dean Li
45d02859cb
import_helper: refactor frozen_modules
...
`frozen_modules` requires non-trivial changes in import (`imp.rs`)
and from the doc it is deprecated since 3.3 which makes this feacture
unlikely to be support on this project.
So instead of implementing this feature, I make `frozen_modules` to
raise exception if `frozen` is required. Other than that, all implementation
is just like the upstream version (except one TODO comment to remind
us there is something not fully supported)
2021-12-01 20:06:38 +08:00
LeeJungwon
d6031baaa6
Update _collection_abc.py Cpython v3.9.7
2021-12-01 16:46:59 +09:00
Jeong YunWon
3c5e13f7f1
Merge pull request #3461 from Byeongjee/dict-iterator-reduce
...
Implement reduce() for dict iterators
2021-11-30 14:34:32 +09:00
Jeong YunWon
5077d6f700
Merge pull request #3480 from deantvv/test-support-import-helper
...
Test: move import_helper out
2021-11-30 14:30:21 +09:00
Chris Moradi
961e700612
PR feedback: comment out original inspect.isabstract code
2021-11-29 08:56:32 -08:00
snowapril
9a2b67e3a7
Add keyword module from cpython 3.10
...
Signed-off-by: snowapril <sinjihng@gmail.com >
2021-11-29 23:40:42 +09:00
Dean Li
14727e6432
test: mark win32 failure test
2021-11-29 21:03:03 +08:00
Dean Li
6f98288e84
test: use import_helper
2021-11-29 21:03:02 +08:00
Dean Li
c2baf11119
test: move import_helper out
2021-11-29 21:01:35 +08: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
45c22af5c7
feat(hashlib): add test_hashlib from CPython v3.9.9
2021-11-29 16:50:24 +07:00
Jeong YunWon
32a9b958e5
Merge pull request #3465 from 24seconds/fix_test_base64
...
Support tuple type also for memoryview shape arg
2021-11-29 16:10:20 +09:00
Chris Moradi
4409460cb3
Fix __isabstractmethod__ for class/static methods and properties
...
Includes a minor departure from CPython implementation of inspect.isabstract
because TPFLAGS_IS_ABSTRACT is not set in obj.__flags__.
2021-11-28 15:02:44 -08:00
Noa
00155abe45
Merge pull request #3473 from tai271828/pr-issue-2889-dis
...
feat(Lib): print the disassembled info
2021-11-28 16:59:26 -06:00
Taihsiang Ho (tai271828)
acc75de4ef
feat(Lib): print the disassembled info
...
Issue: #2889
2021-11-28 22:33:59 +01:00
Dean Li
4161858ec2
Revert "test: remove unexpectedFailure for nt"
...
This reverts commit 20cef397f0 .
2021-11-28 23:25:45 +08:00
Dean Li
4109b12f03
test: mark win32 failure test
2021-11-28 23:25:17 +08:00
Dean Li
be3f3412e1
os_helper: add XXX RUSTPYTHON back
2021-11-28 22:42:03 +08:00
Dean Li
20cef397f0
test: remove unexpectedFailure for nt
2021-11-28 20:51:34 +08:00
Dean Li
cad10fedd4
test: update importlib
2021-11-28 20:51:34 +08:00
Dean Li
05705bd727
test: update test_unicode_file
2021-11-28 20:51:34 +08:00
Dean Li
aab7c07789
test: update test_urllib
2021-11-28 20:51:33 +08:00
Dean Li
27b637aa0a
test: update test_uu
2021-11-28 20:51:33 +08:00
Dean Li
4ba3611664
test: update test_support
2021-11-28 20:51:33 +08:00
Dean Li
5ee4fb899b
test: use os_helper
2021-11-28 20:51:32 +08:00
Dean Li
39b9e1f91e
test: os use os_helper
2021-11-28 20:51:32 +08:00
Dean Li
2b89992d3f
test: move os_helper out as py3.10
2021-11-28 20:51:32 +08:00
Jeong YunWon
9fb70707c4
Merge pull request #3469 from youknowone/dis-py
...
rename native dis to _dis and add python module
2021-11-28 17:52:15 +09:00
Jeong YunWon
d622ceb9dc
rename native dis to _dis and add python module
2021-11-28 15:50:24 +09:00
hrchu
bd67e7d927
Mark failing tests in test_unid
2021-11-28 10:25:22 +08:00
hrchu
34ac2f73d1
Add test_uuid from CPython 3.9.9
2021-11-28 10:16:24 +08:00
Byeongjee Kang
91489352c5
Implement reduce() for dict iterators
...
This fixes test_iter_dict, test_iterator_pickling, test_itemiterator_pickling,
and test_valuesiterator_pickling.
2021-11-27 23:57:39 +09:00
Young
dd773b3413
Support tuple type also for memoryview shape arg
2021-11-27 23:39:01 +09:00
Jeong YunWon
e2b5abf70c
Merge pull request #3459 from TeamTamoad/maketrans
...
Fix maketrans not thrown ValueError when length of the arguments are …
2021-11-27 15:05:48 +09:00
Narawit Rakket
cf7c8154bf
Fix maketrans not thrown ValueError when length of the arguments are not the same
2021-11-27 12:12:18 +07:00