Commit Graph

174 Commits

Author SHA1 Message Date
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
Windel Bouwman
161f1d4c98 Merge pull request #1491 from RustPython/bytecode-compression
Compress bytecode using LZ4
2019-10-10 08:04:21 +02:00
kluid
6f7d76f74b Added _csv module and implemented reader function. 2019-10-09 12:29:35 +09:00
Windel Bouwman
64ab147f64 Compress bytecode using LZ4 2019-10-07 20:54:22 +02:00
ChJR
0b60b6f5d5 Add os.EX_* constants 2019-10-06 17:01:13 +09:00
Noah
867c91b28f Merge pull request #1459 from RustPython/coolreader18/sysexit
Correctly handle a SystemExit unwound to the top level of execution
2019-10-05 18:39:45 -05:00
Noah
e89d00f167 Correctly handle a SystemExit unwound to the top level of execution 2019-10-04 22:05:01 -05:00
Seo Sanghyeon
e4ec430896 Optimize BuildMap bytecode emission 2019-10-03 00:03:08 +09:00
Daniel Alley
02ea0b629f Handle unicode indexing by character, not by grapheme
Python isn't grapheme aware, so for compatibility sake, we shouldn't be
either.

closes #1417
2019-10-01 12:37:16 -04:00
Noah
d88167bb73 Bump crate versions 2019-09-25 11:57:38 -05:00
coolreader18
42ca599379 Update Cargo.lock 2019-09-12 09:30:11 -05:00
coolreader18
6a34a720e4 Update dependencies 2019-09-10 21:53:53 -05:00
coolreader18
2920c87a19 Fix more stuff on redox 2019-09-10 20:24:02 -05:00