Commit Graph

186 Commits

Author SHA1 Message Date
Noah
159d4e28c7 Move the mt19937 algorithm into its own crate 2020-03-12 07:31:46 -05:00
Aviv Palivoda
8bde882a39 Merge pull request #1784 from palaviv/freeze
Add frozen executable example
2020-03-06 22:02:08 +02:00
Noah
9802324c2a Merge pull request #1795 from RustPython/coolreader18/android-socket-libc-constants
Use libc for android socket constants
2020-03-06 07:47:52 -06:00
coolreader18
791050bb95 Use libc for android socket constants 2020-03-03 15:13:21 -06:00
Noah
2f617feb10 Convert registry values to Python values 2020-03-03 11:22:58 -06:00
Noah
65ed30b2ab Add winreg module 2020-03-02 10:54:35 -06:00
Noah
645314b215 Move readline.rs into the vm crate 2020-02-29 12:02:36 -06:00
Aviv Palivoda
582932c8a8 Add freeze example 2020-02-29 11:36:27 +02:00
Noah
2b5e32aaab Make _random work on wasm 2020-02-14 10:49:53 -06:00
Aviv Palivoda
9792170e04 Add os.uname 2020-02-06 21:53:31 +02:00
Noah
a20b6bfaaa Implement _random using the MT19937 algorithm 2020-02-03 18:21:51 -06:00
Aviv Palivoda
9c12b95cf4 Support timeout in Popen.communicate 2020-02-01 09:54:05 +02:00
Noah
aa98bb4e41 Ugrade dependencies and update lockfile format 2020-01-31 00:31:12 -06:00
Jeong YunWon
7fd92fcc71 Py_TPFLAGS_BASETYPE 2020-01-30 16:32:09 +09:00
Daniel Alley
4e2afe7937 Remove wtf8 dependency 2020-01-27 08:35:58 -05:00
Daniel Alley
e5cac96511 Replace lazy_static! macro with once_cell 2020-01-27 01:05:53 -05:00
Noah
bc121d791a Merge pull request #1682 from RustPython/coolreader18/compare_digest
Add _operator._compare_digest
2020-01-25 12:20:08 -06:00
coolreader18
1c3b4d2fc4 Remove 'regex' from parser/Cargo.toml, as we don't use it 2020-01-15 20:19:11 -06:00
coolreader18
44ed27e8e7 Update to newest syn 2020-01-14 23:22:49 -06:00
Jeong YunWon
3ade61a641 Merge pull request #1686 from RustPython/coolreader18/redox-fix
Fix compilation on Redox
2020-01-15 11:08:02 +09:00
coolreader18
ddf5c9aade Compile for redox 2020-01-14 19:07:05 -06:00
coolreader18
b29707cda4 Say what file failed to compile in py_compile_bytecode 2020-01-13 19:56:18 -06:00
coolreader18
0418cc7790 Add _operator._compare_digest 2020-01-12 22:57:19 -06:00
Noah
bb456963e4 Merge pull request #1668 from RustPython/coolreader18/exc-ser
Make PyBaseExceptionRef serializable and use it to improve WASM errors
2020-01-11 17:14:43 -06:00
coolreader18
c5264c942d Update wasm-bindgen, export PyError to JS 2020-01-11 12:43:06 -06:00
coolreader18
098532b283 Remove proc-macro-hack and use our own slightly-less-hacky hack 2020-01-10 11:29:27 -06:00
Jeong YunWon
22b1692f21 Merge pull request #1642 from youknowone/pyreturn
Suggestion: PyReturn to keep result type when it can be a special type like NotImplemented
2020-01-06 01:13:31 +09:00
coolreader18
98211a34de Try to cut down on the # of unicode crates we use 2020-01-05 00:19:56 -06:00
coolreader18
8494979a02 Reorganize unicodedata and add unicodedata.ucd_3_2_0 2020-01-05 00:19:48 -06:00
Jeong YunWon
44bd0b6d63 introduce PyArithmaticValue 2020-01-05 03:00:29 +09:00
Jeong YunWon
e84ecafecd bump up num-bigint to 0.2.4 to fix modpow 2020-01-02 17:00:09 +09:00
coolreader18
1773025368 Convert to new PyResult in rustpython_wasm 2019-12-27 11:22:53 -06:00
Noah
cd726a2818 Cleanup exceptions a bit 2019-12-27 11:17:26 -06:00
coolreader18
3d9f9f0172 Fix os.lseek 2019-12-16 18:33:04 -06:00
coolreader18
69658bd215 Update binascii with base64, add with_ref method to PyBytesLike 2019-12-14 15:48:48 -06:00
coolreader18
f75638cc17 socket.getaddrinfo 2019-11-30 17:25:34 -06:00
coolreader18
bed54e035c Add some constants to native modules 2019-11-16 22:58:51 -06:00
coolreader18
fcc796d6e1 Use socket2 crate for the socket module
It closely mirrors the unix C api for sockets, which is good because
Python does as well.
2019-10-28 22:27:22 -05:00
Noah
61d6270630 Merge pull request #1570 from Riey/update-chrono
Update chrono to 0.4.9
2019-10-26 13:20:15 -05:00
Riey
69aa0526ed Using wasmbind feature in chrono 2019-10-26 23:15:36 +09:00
Riey
52846e42bb Update chrono to 0.4.9 2019-10-26 23:05:44 +09:00
coolreader18
407e4b2e86 Remove kernel32-sys dependency 2019-10-24 13:51:10 -05:00
Noah
8400838476 Get select() working on Windows, apply suggestions 2019-10-23 22:46:00 +00:00
Aviv Palivoda
d0184a7ac2 struct.pack does not allow string as pack parameter 2019-10-20 10:13:40 +03:00
Seo Sanghyeon
6887365092 Update lexical to 4 2019-10-15 21:40:59 +09:00
Seo Sanghyeon
97069c8605 Update lalrpop to 0.17 2019-10-11 15:50:15 +09:00
Chris West (Faux)
60bb597dc0 upgrade low-risk deps 2019-10-10 21:07:26 +01:00
Chris West (Faux)
a5be00b488 upgrade statrs 2019-10-10 20:50:09 +01:00
Chris West (Faux)
9213c99da9 upgrade direct use of rand 2019-10-10 20:50:09 +01:00
Chris West (Faux)
45e4d6e9cd upgrade regex to be consistent 2019-10-10 20:50:09 +01:00