Commit Graph

155 Commits

Author SHA1 Message Date
Noah
bc121d791a Merge pull request #1682 from RustPython/coolreader18/compare_digest
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
Jeong YunWon
3698d0e438 Fix comparison operator 2020-01-26 01:18:51 +09:00
Jeong YunWon
655834d578 Merge pull request #1678 from youknowone/object-cmp
__eq__ and __ne__ compatibility
2020-01-18 19:26:45 +09:00
Aviv Palivoda
296f298e73 Merge pull request #1695 from palaviv/test-dict
Add Cpython test_dict
2020-01-18 11:08:03 +02:00
Aviv Palivoda
f6e6ef0fe1 objint __pos__ returns Int object
This fixes test_bool.test_math
2020-01-17 19:17:14 +02:00
Aviv Palivoda
dd8a0412b0 Mark failed and error tests for dict 2020-01-17 18:02:14 +02:00
Aviv Palivoda
bdc627ef44 Add CPython test_dict.py 2020-01-17 17:58:51 +02:00
coolreader18
0418cc7790 Add _operator._compare_digest 2020-01-12 22:57:19 -06:00
Jeong YunWon
81d36a1f1d __eq__ and __ne__ compatibility 2020-01-12 18:33:58 +09:00
coolreader18
9fdf54f965 quickfix Lib/test bool test_sane_len 2020-01-12 00:08:01 -06:00
Aviv Palivoda
4c0e7bf908 Add TODO on all marked tests 2020-01-04 16:30:02 +02:00
Aviv Palivoda
247d814fa6 Mark failed and error tests for lists 2020-01-04 16:30:02 +02:00
Aviv Palivoda
27da37ca3f Add test_list 2020-01-04 16:30:02 +02:00
Aviv Palivoda
0e38b515d7 Add test_decorators 2020-01-04 16:30:02 +02:00
Aviv Palivoda
f06883643f Mark test_compare failed test with expectedFailure 2020-01-04 16:30:02 +02:00
Aviv Palivoda
9b37be8f3d Add test_compare 2020-01-04 16:30:02 +02:00
Aviv Palivoda
641418f3b8 Add __main__ to test lib 2020-01-04 16:30:02 +02:00
Aviv Palivoda
88c477fb6c Fix CR comments 2019-12-30 21:31:36 +02:00
Aviv Palivoda
e1942541ab Add expectedFailure on failing test_bool tests 2019-12-30 21:31:36 +02:00
Aviv Palivoda
4c7c5fd225 Change test code to allow running 2019-12-30 21:31:36 +02:00
Aviv Palivoda
a157dc1230 Add regrtest from CPython 2019-12-30 21:31:36 +02:00
coolreader18
abb190ce50 Some small fixes for http to work 2019-12-21 14:51:11 -06:00
coolreader18
5856b85f74 Add stdlib modules necessary for http from CPython 3.6.0 2019-12-21 14:51:11 -06:00
Noah
97b8a7bf32 Merge pull request #1621 from RustPython/coolreader18/io-update
Update the io module with a bunch of methods
2019-12-04 13:08:14 -06:00
coolreader18
00cf87cde9 Mini-fix for _sre; need bytes support 2019-12-03 21:39:33 -06:00
coolreader18
4263ce48e3 Include _io on WASM, just not FileIO 2019-12-01 17:49:29 -06:00
coolreader18
e63073bfb8 Update io module with a bunch of methods 2019-12-01 02:01:15 -06:00
coolreader18
747229ad21 Fix C codec implementations being expected by encodings
Also fix encodings' normalize_encoding function
2019-11-28 13:32:08 -06:00
coolreader18
88b883fab9 Edit _codecs to work w/ Python 3 2019-11-28 13:32:07 -06:00
coolreader18
36a224e16d Use a Python version of _codecs from PyPy v1.0.0 2019-11-28 13:32:07 -06:00
Noah
4a69af8cc3 Merge pull request #1576 from RustPython/coolreader18/vm-lib-reorganize
Reorganize vm/Lib and frozen.rs
2019-11-27 14:37:00 -06:00
coolreader18
794e2adacf Fix nt import in shutil 2019-11-23 11:20:42 -06:00
coolreader18
458c68263d Fix tempfile to not use random.Random 2019-11-23 11:20:42 -06:00
coolreader18
a3b435c0d3 Add tempfile.py from CPython 3.6.0 2019-11-23 11:20:42 -06:00
Noah
4cf2672876 Add _multiprocessing stub 2019-11-23 11:20:41 -06:00
coolreader18
b5505b4e73 Add asyncio.run from CPython 3.7 2019-11-23 11:20:41 -06:00
coolreader18
6679ea1287 Don't import some platform-specific modules 2019-11-23 11:19:21 -06:00
coolreader18
efdfcfc2a5 Minor changes to make multiprocessing importable 2019-11-23 11:19:21 -06:00
coolreader18
40a2acbcad Add necessary Lib files for asyncio from CPython 3.6.0 2019-11-23 11:19:21 -06:00
Noah
60ebba2b6c Merge pull request #1587 from palaviv/add-test
Add test to Lib and allow test_bool.py to run
2019-11-22 23:34:26 -06:00
coolreader18
40ac4ca0be Reorganize vm/Lib and frozen.rs 2019-11-22 22:49:11 -06:00
coolreader18
f7831491c5 Add stub implementation of atexit 2019-11-17 17:09:38 -06:00
coolreader18
edb84896bf Make PyObject.dict an Option<RefCell<PyDictRef>> 2019-11-16 22:50:58 -06:00
Bart Lanen
2921b306e1 colosys.py from the cpython standard lib 2019-11-15 11:16:43 +01:00
Aviv Palivoda
adeb00ffbc Allow test_bool.py to run 2019-11-12 16:03:06 +02:00
Aviv Palivoda
15fc64dc1e Copy test_bool.py and test.support from CPython 2019-11-12 16:01:48 +02:00
coolreader18
bf08f2f6a3 Enable async stuff in stdlib modules 2019-11-07 00:04:51 -06:00
Noah
52f1965c1c Merge pull request #1525 from alanjds/dummy_threading
`threading` support via dummy implementation
2019-11-06 22:23:55 -06:00
Noah
24cc67980c Merge pull request #1572 from RustPython/coolreader18/socket-socket2
Update _socket to use the socket2 crate; similar to the C sockets api
2019-11-01 19:49:40 -05:00
Aviv Palivoda
1341a551d1 Merge pull request #1573 from palaviv/tb-object
Traceback object
2019-11-01 13:41:34 +02:00