Commit Graph

8646 Commits

Author SHA1 Message Date
sobolevn
e5e20a53b2 Makes type.__prepare__ a classmethod, also first arg is any (not str), refs #2762 2021-08-08 12:49:41 +03:00
sobolevn
af63e83e13 Makes args of type.__prepare__ optional, refs #2762 2021-08-08 12:05:31 +03:00
Jeong YunWon
43a43f76f2 Merge pull request #2803 from moreal/bugfix/rethrow-error-in-build-map
Fix incorrect unwrapping
2021-08-07 23:47:06 +09:00
Jim Fasarakis-Hilliard
bf59103d19 Merge pull request #2802 from eldpswp99/iskeyword-none-check
add iskeyword None check
2021-08-07 15:43:02 +03:00
Lee Dogeon
653858e152 Fix unhashable type error message (#2801)
* Fix unhashable type error message
2021-08-07 14:37:01 +03:00
eldpswp99
1c0bd83809 iskeyword: add None check
there was one todo in test_keyword.py

before: s was PyStrRef, it failed to handle None
after: convert s to PyObjectRef and add None check
2021-08-07 20:24:41 +09:00
moreal
cc7269c68d Fix incorrect unwrapping
See https://github.com/RustPython/RustPython/issues/2799
2021-08-07 19:24:25 +09:00
Jim Fasarakis-Hilliard
53b8067acd Merge pull request #2798 from deantvv/impl-socket-herror
socket: impl herror
2021-08-07 12:50:44 +03:00
Dean Li
06b40b3602 socket: impl herror
There is one todo that is waiting for hstrerror to land in libc crate.
For now it shows the same error as cpython when hstrerror is not
available.
2021-08-07 15:26:09 +08:00
Jeong YunWon
2d78812745 Merge pull request #2797 from fanninpm/test-zipfile
Add test_zipfile from CPython 3.8
2021-08-06 23:21:48 +09:00
Padraic Fanning
d99d255ee1 Mark erroring/failing/hanging tests 2021-08-05 23:32:02 -04:00
Padraic Fanning
12e8f59862 Add test_zipfile from CPython 3.8
Also adds the following supporting files:
 - the entire ziptestdata/ directory
 - zip_cp437_header.zip
 - zipdir.zip
2021-08-05 18:08:38 -04:00
Jeong YunWon
7fc8ddb130 Merge pull request #2795 from DimitrisJim/rangeiter_reduce
Adds reduce, length_hint and set_state to range iterators.
2021-08-06 06:44:32 +09:00
jfh
f3a074ba90 Adds reduce, length_hint and set_state to range iterators. 2021-08-05 23:56:01 +03:00
Jeong YunWon
412fffbc5d Merge pull request #2792 from DimitrisJim/init_bltins
Initialize with init for mutable builtins.
2021-08-05 03:59:19 +09:00
jfh
6950ad6ee4 Initialize with init for mutable builtins. 2021-08-04 20:57:47 +03:00
Jeong YunWon
62af4222ba Merge pull request #2739 from fanninpm/test-xmlrpc
Add test_xmlrpc from CPython 3.8
2021-08-04 14:00:28 +09:00
Nikita Sobolev
8f2679a97a Adds __qualname__ to PyBuiltinFunction 2021-08-04 13:59:40 +09:00
Noah
fa8072cfd6 Merge pull request #2785 from sobolevn/github-actions-housekeeping
GitHub Actions housekeeping
2021-08-03 08:42:27 -05:00
Padraic Fanning
1cd25cdb41 Mark failing tests due to GitHub Actions sandbox 2021-08-02 20:23:33 -04:00
Jim Fasarakis-Hilliard
8f397947fe Merge pull request #2784 from jungsu-kwon/test-deque
added test_deque.py from CPython 3.8.7
2021-08-02 17:20:13 +03:00
sobolevn
fbd79ba917 GitHub Actions housekeeping 2021-08-02 15:37:34 +03:00
jungsu.kwon
d44c98e926 skipped tests with error 2021-08-02 20:29:16 +09:00
jungsu.kwon
c3c8148d68 added expectedFailure for failing tests 2021-08-02 20:17:43 +09:00
jungsu.kwon
4142fd630d skipped hanging/panicking tests 2021-08-02 20:11:06 +09:00
jungsu.kwon
89d349be7a added test_deque.py from CPython 3.8.7 2021-08-02 20:06:28 +09:00
Nikita Sobolev
8009697498 Adds correct __repr__ to PyBuiltinMethod 2021-08-02 19:07:16 +09:00
Jeong YunWon
1d4214fab8 Merge pull request #2738 from fanninpm/test-xml-etree
Add test_xml_etree from CPython 3.8
2021-08-02 16:23:18 +09:00
Jeong YunWon
8d1757381a Merge pull request #2773 from DimitrisJim/math_tests
Add additional files for math tests and fix commented tests in tests_math.
2021-08-02 04:06:52 +09:00
Jeong YunWon
dca79874dd Merge pull request #2772 from RustPython/redox-fixes
Fix redox and other stuff
2021-08-02 04:05:14 +09:00
Jeong YunWon
9a69fb5952 Merge pull request #2774 from sobolevn/fixes-clippy
Fixes clippy on macos
2021-08-02 03:59:38 +09:00
Noah
8f2b9f3195 Fix socket2::Socket niche optimization breaking stuff 2021-08-01 10:53:08 -05:00
sobolevn
9c6dbf2c23 Fixes clippy on macos 2021-08-01 12:08:14 +03:00
jfh
53e8f5c17d Uncomment tests, mark the failing/need to skip. 2021-08-01 04:21:42 +03:00
jfh
0c81452bf3 Add additional math tests from CPython 3.8 2021-08-01 04:21:06 +03:00
Jeong YunWon
7ab81569ea Merge pull request #2708 from DimitrisJim/operator_rs
Add operator.rs
2021-08-01 09:24:41 +09:00
Nikita Sobolev
73ae7a6116 Adds __qualname__ to PyBuiltinMethod 2021-08-01 09:16:27 +09:00
Noah
a32ee555cf Run cargo update 2021-07-31 18:44:40 -05:00
Padraic Fanning
84a5fdb292 Update xml.etree.ElementPath to CPython 3.8 2021-07-31 18:28:28 -04:00
Padraic Fanning
05fff92c1b Update xml.etree.ElementTree to CPython 3.8 2021-07-31 18:28:28 -04:00
Padraic Fanning
4eeb01fbce Mark erroring/failing/hanging tests 2021-07-31 18:28:28 -04:00
Padraic Fanning
111366d8a7 Add test_xml_etree from CPython 3.8
Also adds the following supporting files:
 - everything in the xmltestdata/c14n-20/ directory
 - xmltestdata/expat224_utf8_bug.xml
 - xmltestdata/simple-ns.xml
 - xmltestdata/simple.xml
2021-07-31 18:28:28 -04:00
Padraic Fanning
9db603f0c0 Mark erroring/failing tests 2021-07-31 15:53:37 -04:00
Padraic Fanning
13a08de3e8 Skip tests that appear to hang 2021-07-31 15:53:37 -04:00
Padraic Fanning
340d2c29fa Add test_xmlrpc from CPython 3.8 2021-07-31 15:53:36 -04:00
Jeong YunWon
b57c36ef64 Merge pull request #2769 from DimitrisJim/fast_range_iter
Fast range iterator
2021-08-01 02:51:47 +09:00
Noah
4de16f6955 Remove derive_more dep 2021-07-31 10:49:39 -05:00
Noah
1ed3277a39 Fix building with openssl 1.1.0 2021-07-31 10:18:56 -05:00
Noah
e9d1608f4d Fix no fstatat/times on redox 2021-07-31 10:18:06 -05:00
Noah
b05c0e27f6 Upgrade dependencies for redox 2021-07-31 10:18:00 -05:00