Commit Graph

5000 Commits

Author SHA1 Message Date
Jeong YunWon
7d0d313aa5 &str::to_string -> &str::to_owned for variables 2020-02-05 22:55:34 +09:00
Jeong YunWon
1bac582921 &str::to_string -> &str::to_owned for literals 2020-02-05 22:55:33 +09:00
Noah
c435ba05ab Merge pull request #1731 from RustPython/feature/implement-random
Implement _random.Random
2020-02-05 07:39:27 -06:00
Jeong YunWon
3960fb8c07 Merge pull request #1745 from arnavb/fix-exit-code
Fallback exit code to 0 in case of overflow
2020-02-05 13:48:44 +09:00
Arnav Borborah
c44f04b57e Fallback exit code to 0 in case of overflow 2020-02-04 18:21:33 -05:00
Noah
3595f4e1a4 Merge pull request #1730 from youknowone/type-error
Fix type() error message and BaseException.__str__
2020-02-03 19:28:25 -06:00
Noah
e46d38e6ea Merge pull request #1733 from youknowone/py-base-object
PyBaseObject
2020-02-03 19:15:35 -06:00
Noah
9abb258849 Fix clippy warnings 2020-02-03 18:38:19 -06:00
Noah
a762bf89d9 Move gen_res53 to mersenne.rs 2020-02-03 18:27:35 -06:00
Noah
b40dcb7748 Use random.Random in tempfile 2020-02-03 18:21:53 -06:00
Noah
2fd9eb9a8a Add random.py from CPython 3.6 2020-02-03 18:21:52 -06:00
Noah
a20b6bfaaa Implement _random using the MT19937 algorithm 2020-02-03 18:21:51 -06:00
malkoG
908abef5da Apply code review for test snippet 2020-02-03 18:21:42 -06:00
malkoG
8a3fb408dc Implement random module 2020-02-03 18:21:37 -06:00
Jeong YunWon
52c5eec4bb Merge pull request #1725 from youknowone/fix-parse-number
parse_number can raise error about length
2020-02-03 11:12:11 +09:00
Noah
8272e470ee Merge pull request #1737 from RustPython/coolreader18/deploy-gh-actions
Deploy the demo using Github Actions
2020-02-02 12:11:10 -06:00
Noah
ddfec3af73 Merge pull request #1739 from youknowone/pytest-v
github actions run pytest with -v option
2020-02-02 10:52:04 -06:00
Jeong YunWon
77e72083a0 github actions run pytest with -v option 2020-02-02 23:44:40 +09:00
Noah
6c3231e60c Deploy the demo using Github Actions 2020-02-01 20:45:37 -06:00
Noah
584b0da8fa Merge pull request #1729 from RustPython/coolreader18/cache-actions
Cache Cargo dependencies in Github Actions
2020-02-01 18:12:27 -06:00
Jeong YunWon
1c2b01f894 parse_number can raise error about length 2020-02-01 21:29:01 +09:00
Aviv Palivoda
17fdc19b79 Merge pull request #1724 from palaviv/subprocess-timeout
Support timeout in Popen.communicate
2020-02-01 10:32:03 +02:00
Jeong YunWon
3e56b3f284 PyBaseObject 2020-02-01 16:56:12 +09:00
Aviv Palivoda
9c12b95cf4 Support timeout in Popen.communicate 2020-02-01 09:54:05 +02:00
Jeong YunWon
c366c2074c Fix type() error message and BaseException.__str__ 2020-02-01 13:23:32 +09:00
Jeong YunWon
7cdaba75ab Merge pull request #1726 from youknowone/calltype-ex
Fix bytecode::CallType::Ex to raise non-str type error
2020-02-01 12:32:51 +09:00
Noah
5d2ddc76f3 Check runner.os instead of matrix.os 2020-01-31 21:16:26 -06:00
Jeong YunWon
53e27ebb18 Merge pull request #1728 from RustPython/coolreader18/update-lockfile
Ugrade dependencies and update lockfile format
2020-02-01 03:57:17 +09:00
Jeong YunWon
72fd354956 Merge pull request #1727 from youknowone/int-frombytes
Fix int.from_bytes type
2020-02-01 03:56:35 +09:00
Noah
f420e6cc0b Cache Cargo dependencies in Github Actions 2020-01-31 12:23:46 -06:00
Jeong YunWon
fc0c8fd59a Fix int.from_bytes type 2020-02-01 02:54:57 +09:00
Jeong YunWon
2a47785e6a Fix bytecode::CallType::Ex to raise non-str type error 2020-02-01 01:12:21 +09:00
Jeong YunWon
c335791e2f Merge pull request #1721 from youknowone/test-types
Lib/test/test_types.py from CPython v3.8.1
2020-01-31 21:05:23 +09:00
Jeong YunWon
696d2de5d8 Merge pull request #1633 from youknowone/test-copy
Lib/test/test_copy.py from CPython v3.8.1
2020-01-31 21:05:05 +09:00
Jeong YunWon
1b9ba7ccc7 mark failing tests of test_types.py 2020-01-31 18:12:59 +09:00
Jeong YunWon
c8e5040d35 mark failing tests from test_copy.py 2020-01-31 18:12:18 +09:00
CPython developers
cebca9e6d3 Add test_copy.py from CPython v3.8.1 2020-01-31 17:55:59 +09:00
CPython developers
41b6794e1a test_types.py from CPython v3.8.1 2020-01-31 17:52:31 +09:00
Jeong YunWon
1272b911d6 Merge pull request #1723 from palaviv/missing-assert
Add missing assert in stdlib_os snippet
2020-01-31 17:47:30 +09:00
Aviv Palivoda
19ce0c6d7f Add missing assert 2020-01-31 10:08:11 +02:00
Noah
aa98bb4e41 Ugrade dependencies and update lockfile format 2020-01-31 00:31:12 -06:00
Noah
ee354baf22 Merge pull request #1687 from RustPython/coolreader18/purge-ub
Purge all UB from init_type_hierarchy
2020-01-30 13:41:01 -08:00
Jeong YunWon
bd08950e2f Merge pull request #1719 from palaviv/more-actions
Add more jobs to github actions
2020-01-31 01:41:28 +09:00
Aviv Palivoda
487c742939 Merge pull request #1720 from palaviv/split-github-actions
Split rust test and snippets in github actions
2020-01-30 17:03:43 +02:00
Aviv Palivoda
c9227cd335 Split rust test and snippets 2020-01-30 16:08:34 +02:00
Aviv Palivoda
3fb6fb8706 Merge pull request #1718 from youknowone/macos-whence
cleanup unused import warning for macOS
2020-01-30 15:23:53 +02:00
Aviv Palivoda
644076196a Add wasm test to github actions 2020-01-30 15:19:54 +02:00
Aviv Palivoda
acc47ee31c Merge pull request #1717 from palaviv/dict_iterator-repr
Add repr for dict_keys, dict_values and dict_items
2020-01-30 14:45:23 +02:00
Jeong YunWon
24304a9f24 cleanup unused import warning for macOS 2020-01-30 21:14:54 +09:00
Aviv Palivoda
3b47bb2f61 Add CPython tests to github actions 2020-01-30 14:05:04 +02:00