Commit Graph

5100 Commits

Author SHA1 Message Date
Jeong YunWon
33a053d308 bytearray support for int() 2020-02-29 11:32:27 +09:00
Noah
88405cf574 Merge pull request #1781 from philippeitis/patch-3
Raise TypeError when kwargs are not dict.
2020-02-28 15:05:29 -06:00
philippeitis
a6cc502fb9 Formatting. 2020-02-28 12:08:08 -08:00
philippeitis
294cbf1c7a Raise TypeError when kwargs are not dict. 2020-02-28 11:54:35 -08:00
Noah
f2dc9f906e Merge pull request #1774 from RustPython/coolreader18/_os-module-posix-nt
Change the name of the _os module to posix/nt
2020-02-28 07:06:05 -06:00
Aviv Palivoda
3d0c143425 Merge pull request #1773 from palaviv/more-tests
Add more CPython test
2020-02-28 09:48:25 +02:00
Noah
2227507f2b Merge pull request #1777 from philippeitis/patch-1
Update f-string errors, handle != in f-string.
2020-02-27 15:52:02 -06:00
philippeitis
e037e37018 Simplify code, have errors match CPython implementation. 2020-02-27 11:34:55 -08:00
Noah
bd6a6cefb8 Merge pull request #1763 from youknowone/exceptions
Add missing exceptions
2020-02-27 12:12:34 -06:00
philippeitis
a21a2d4773 Handle != in f-string braces, raise EmptyExpression when expected. 2020-02-26 21:09:25 -08:00
philippeitis
3b74e780ec Add ExpectedRbrace error, fix error messages. 2020-02-26 21:07:46 -08:00
Jeong YunWon
341ba1e2f8 Reorder exceptions by exception_hierarachy.txt 2020-02-26 08:38:52 +00:00
Jeong YunWon
7bb530dd89 Fix exception repr 2020-02-26 08:15:29 +00:00
Jeong YunWon
378a36c7e1 Add missing exceptions 2020-02-26 08:15:21 +00:00
Noah
959b0b9e62 Don't try to import winreg in importlib._bootstrap_external 2020-02-24 22:31:49 +00:00
Noah
fa7524d0b9 Change the name of the _os module to posix/nt 2020-02-24 22:11:08 +00:00
Aviv Palivoda
7c3b4c3802 Mark unsupported tests 2020-02-22 14:32:22 +02:00
Aviv Palivoda
af933f8ba5 Add test_contains from CPython 3.8 2020-02-22 14:31:12 +02:00
Aviv Palivoda
1d29858c04 Mark unsupported tests 2020-02-22 14:25:25 +02:00
Aviv Palivoda
1129c9d59a Add test_class from CPython 3.8 2020-02-22 14:25:03 +02:00
Aviv Palivoda
5275ef6e3a Mark unsupported tests 2020-02-22 14:11:50 +02:00
Aviv Palivoda
0e2ccf36fc Add test_with from CPython 3.8 2020-02-22 14:10:06 +02:00
Aviv Palivoda
e1e95ffc1a Mark unsupported tests 2020-02-22 14:08:18 +02:00
Aviv Palivoda
87e1084161 Add test_tuple from CPython 3.8 2020-02-22 14:02:19 +02:00
Aviv Palivoda
f21e35c31a Merge pull request #1771 from palaviv/set-tests
Add CPython Set tests and support Args in methods
2020-02-22 10:01:02 +02:00
Noah
15163acdaa Merge pull request #1769 from RustPython/coolreader18/struct-class
Reorganize struct module, add struct.Struct
2020-02-21 13:05:02 -06:00
Aviv Palivoda
fb7a2ce686 Mark unsupported tests 2020-02-21 11:12:50 +02:00
Windel Bouwman
90b862258b Merge pull request #1765 from youknowone/allow-star-exp
Allow star expression for list elements
2020-02-21 10:07:21 +01:00
Noah
82d683730c Misc changes 2020-02-20 23:53:19 -06:00
Noah
7f6cdc68c4 Add struct.Struct.size property 2020-02-20 23:08:37 -06:00
Noah
e1b63bdd4a Add struct.Struct test 2020-02-20 22:33:33 -06:00
Noah
0dcb4d4b2e Reorganize struct module, add struct.Struct 2020-02-20 22:33:25 -06:00
Noah
af7ed15454 Merge pull request #1768 from youknowone/fix-test-warnings
Remove test warnings
2020-02-18 06:50:16 -06:00
Jeong YunWon
9bbdbb6b3b Remove test warnings 2020-02-18 08:14:48 +00:00
Aviv Palivoda
9ba7e6e691 Add test_set from CPython 3.8 2020-02-16 20:32:50 +02:00
Aviv Palivoda
34d8c44952 Support Args in set/frozenset methods 2020-02-16 20:32:50 +02:00
Jeong YunWon
1abe7e3313 Allow star expression for list elements 2020-02-16 17:32:51 +09:00
Noah
e4eb2e5400 Merge pull request #1761 from RustPython/coolreader18/random-wasm
Make _random work on wasm
2020-02-14 15:20:27 -06:00
Noah
2b5e32aaab Make _random work on wasm 2020-02-14 10:49:53 -06:00
Jeong YunWon
2738a166fa Merge pull request #1757 from palaviv/test-baseexception
Add more CPython tests
2020-02-14 16:51:58 +09:00
Aviv Palivoda
29cf716c43 Mark unsupported tests 2020-02-14 09:02:56 +02:00
Aviv Palivoda
bdffe3bc59 Add test_raise from CPython 3.8 2020-02-14 09:02:49 +02:00
Aviv Palivoda
2c24c726fa Add test_pow from CPython 3.8 2020-02-14 09:02:40 +02:00
Aviv Palivoda
eb6b1fa34f Mark unsupported tests 2020-02-14 09:02:38 +02:00
Aviv Palivoda
3f44dd4340 Add test_opcodes from CPython 3.8 2020-02-14 09:02:32 +02:00
Aviv Palivoda
5622fd0704 Mark unsupported tests 2020-02-14 09:02:30 +02:00
Aviv Palivoda
df85907bf8 Add test_int from CPython 3.8 2020-02-14 09:02:23 +02:00
Aviv Palivoda
bcd5499475 Add test_int_literal from CPython 3.8 2020-02-14 09:02:14 +02:00
Aviv Palivoda
d9e8c4b08d Mark unsupported tests 2020-02-14 09:02:12 +02:00
Aviv Palivoda
b967068d81 Add test_baseexception from CPython 3.8 2020-02-14 09:01:59 +02:00