Commit Graph

5934 Commits

Author SHA1 Message Date
Bolun Thompson
dd9eb28eb8 formatting 2020-07-20 20:14:12 -07:00
Bolun Thompson
3f7ad38458 Update vm/src/obj/objtype.rs
Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
2020-07-20 20:14:12 -07:00
Bolun Thompson
94bafbb1ea Refactored unecessary code out and calls __get__ descriptor when needed 2020-07-20 20:14:12 -07:00
Bolun Thompson
8cccf13c80 Implemented kwargs on __init_subclass__ 2020-07-20 20:14:12 -07:00
Bolun Thompson
bb433bfd51 Mark expected failures and skipped tests 2020-07-20 20:13:49 -07:00
Bolun Thompson
8e52c29e3b Add test_subclassinit.py from CPython 3.8.5 2020-07-20 20:12:43 -07:00
Bolun Thompson
05bd893e3d Partial support for __init_subclass__ dunder method.
This doesn't support passing kwargs to __init_subclass__.
2020-07-20 12:47:03 -07:00
Jeong YunWon
0c11b8bf67 Merge pull request #1963 from palaviv/cpython-tests
Add CPython import tests
2020-07-19 03:00:31 +09:00
Jeong YunWon
d71dc69577 Merge pull request #2007 from youknowone/test-zlib
test_zlib.py
2020-07-19 02:54:56 +09:00
Aviv Palivoda
4ba6b476aa Wrap unlock in unsfae 2020-07-18 17:26:05 +03:00
Aviv Palivoda
5b51495119 Merge pull request #2011 from yanganto/issue-1555
handle nesting brackets in the spec of format
2020-07-18 17:08:47 +03:00
Aviv Palivoda
fa76d10489 Skip macos failing test 2020-07-18 17:04:35 +03:00
Aviv Palivoda
eba1d722ea Remove global import lock in WASM 2020-07-18 17:04:35 +03:00
Aviv Palivoda
4fe66e2b9a Remove bad_coding2.py 2020-07-18 17:04:35 +03:00
Aviv Palivoda
f039959480 Mark unsupported py_compile tests 2020-07-18 17:04:35 +03:00
Aviv Palivoda
e6d413b30b Add test_importlib from CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
0cdb3d1eb0 Mark unsupported py_compile tests 2020-07-18 17:04:35 +03:00
Aviv Palivoda
a98c15ddfd Add test_py_compile from CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
389f27070d Mark unsupported imp tests 2020-07-18 17:04:35 +03:00
Aviv Palivoda
f970f4fabc Add global import lock 2020-07-18 17:04:35 +03:00
Aviv Palivoda
aebac26cf2 Add imp.py from CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
ca66b027e6 Add test_imp from CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
d14c5a62a9 Advance py_compile code to CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
d14f796b1a Raise error if sys.module value is None 2020-07-18 17:04:35 +03:00
Aviv Palivoda
c9584f530e Advance importlib code to CPython 3.8 2020-07-18 17:04:35 +03:00
Aviv Palivoda
f0fcd5d9fb Add test_abstract_numbers from CPython 3.8 2020-07-18 17:04:35 +03:00
Antonio Yang
bf9eb7a1b0 update testcase 2020-07-18 21:26:48 +08:00
Antonio Yang
ec42059dcb build spec of format when parse 2020-07-18 21:16:58 +08:00
Jeong YunWon
112aef87ed Merge pull request #2000 from RustPython/coolreader18/fix-wasi
Fix compilation on wasi
2020-07-18 21:23:03 +09:00
Jeong YunWon
915078e32f mark failing tests 2020-07-18 20:58:59 +09:00
CPython dev
d71223b546 test_zlib from CPython 3.8.3 2020-07-18 20:51:12 +09:00
Jeong YunWon
476cc81554 Merge pull request #2010 from youknowone/ci-skip-mac
skip platform independent tests for macOS
2020-07-18 20:48:31 +09:00
Antonio Yang
ce0b511a31 init nestied formatting test case 2020-07-18 11:44:58 +08:00
Jeong YunWon
3582567686 skip platform independent tests for macOS 2020-07-18 09:23:41 +09:00
Jeong YunWon
ce2fc345ad enhance github actions cache 2020-07-18 09:03:52 +09:00
Jeong YunWon
8a35c8ff3e Merge pull request #2009 from ohgree/test/future
Added CPython 3.8.3's test___future__.py.
2020-07-18 07:35:03 +09:00
Minjun Shin
7169541232 Added CPython 3.8.3's test___future__.py.
Works perfectly fine, out of the box
2020-07-18 05:51:14 +09:00
Jeong YunWon
2d31f4e7c8 Merge pull request #2001 from RustPython/coolreader18/update-pwd
Update the pwd module
2020-07-17 15:47:04 +09:00
Noah
c4378eb275 Fix compilation on wasi 2020-07-16 20:59:16 -05:00
Noah
5401b2dd32 Merge pull request #2003 from qodot/impl-array-cmp
Implement lt, le, gt, ge method of array
2020-07-16 20:54:51 -05:00
Noah
a8f7f4bd05 Merge pull request #1976 from TheAnyKey/TheAnyKey/VSCode_Gitpod_Debuging
Config files for debugging and launch for VS Code and Gitpod
2020-07-16 20:47:48 -05:00
qodot
40a5e64bf8 Fix rustfmt and clippy
followed message,
- using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)`
2020-07-17 10:18:23 +09:00
Noah
b585a6a930 Merge pull request #1998 from RustPython/coolreader18/zlib-compressobj
Add zlib.compressobj()
2020-07-16 15:05:24 -05:00
qodot
72a78ff542 Implement lt, le, gt, ge method of array 2020-07-16 22:58:54 +09:00
Noah
5e86f91fe9 Add test_pwd.py from CPython 3.8.2 2020-07-15 12:55:15 -05:00
Noah
a9a5f06623 Rewrite the pwd module to use nix instead of the pwd crate 2020-07-15 12:54:51 -05:00
Noah
e30e2cd278 Update some num-* crates 2020-07-15 12:53:57 -05:00
Jeong YunWon
12f72ba9f1 Merge pull request #1997 from RustPython/coolreader18/fix-caching
Try fixing caching
2020-07-15 14:13:55 +09:00
Noah
dd4abd082e Add zlib.compressobj() 2020-07-14 21:24:49 -05:00
Noah
3c241cd91e Allow struct.pack to take a bytes spec 2020-07-14 21:24:41 -05:00