Commit Graph
7302 Commits
Author SHA1 Message Date
Noah b8aabb7bb7 Implement asdl in the ast and parser 2021-01-14 12:37:37 -06:00
Noah 0063c766b7 Copy Python.asdl and asdl.py and asdl_c.py as asdl_rs.py from CPython 3.9 2021-01-14 12:37:37 -06:00
Jeong YunWon 39c18fe9a8 Merge pull request #2146 from RustPython/coolreader18/test_ftplib
Add ftplib + test_ftplib
2021-01-13 08:05:15 +09:00
Noah abe9e2322e Remove extra ahash dep 2021-01-11 19:42:05 -06:00
Noah 07cad58292 Skip test_ftplib on windows 2021-01-11 17:32:30 -06:00
Noah fe15286c1c Use PyRwBytesLike 2021-01-11 17:32:30 -06:00
Noah a5ba2038fb Add SSLContext.options 2021-01-11 17:32:29 -06:00
Noah 10a7f5d9af Fix SslSocket methods, sorta 2021-01-11 17:32:29 -06:00
Noah 9647fce6d5 Add some more socket methods + other misc fixes 2021-01-11 17:32:29 -06:00
Noah 5ead2864ae Skip unsupported tests 2021-01-11 17:32:29 -06:00
Noah 8d95d642df Add keycert files from CPython 3.8.3 2021-01-11 17:32:29 -06:00
Noah 47e268a98c Add test.test_ftplib from CPython 3.8.3 2021-01-11 17:32:18 -06:00
Jeong YunWon eb6edabfd3 Merge pull request #2397 from RustPython/coolreader18/fasthash
Use ahash instead of siphash in a few places
2021-01-11 01:37:12 +09:00
Jeong YunWon d2abad5647 Merge pull request #2398 from RustPython/coolreader18/update-cranelift
Update cranelift deps
2021-01-11 01:31:12 +09:00
Noah cbd229c754 Update cranelift deps 2021-01-08 18:47:54 -06:00
Noah 8cdef9e1fa Use ahash in the vm 2021-01-08 18:08:21 -06:00
Noah 77ab7628fe Upgrade lz4_flex + lalrpop 2021-01-08 17:22:42 -06:00
Noah 56c225c748 Use ahash/phf in parser 2021-01-08 17:09:09 -06:00
Noah 688880c540 Use ahash in the compiler 2021-01-08 17:00:23 -06:00
Noah 0fe96f16b0 Update Cargo.lock 2021-01-08 17:00:03 -06:00
Jeong YunWon 70c96258b1 Merge pull request #2379 from RustPython/coolreader18/rework-pystruct
Rework pystruct, again
2021-01-08 16:15:14 +09:00
Jeong YunWon 7417c377a9 Merge pull request #2359 from youknowone/return-type
Fix return types
2021-01-08 15:46:37 +09:00
Noah 75f9ea2f29 Update rand deps, replace statrs with puruspe 2021-01-07 23:44:45 -06:00
Noah 76306b2260 Add half-float support for struct 2021-01-07 23:44:44 -06:00
Noah 108e1ef38b Rework pystruct, again 2021-01-07 23:44:44 -06:00
Jeong YunWon 0b58527c6a Merge pull request #2373 from RustPython/coolreader18/blockir
Have a block-based IR for compiling, calculate max stack size
2021-01-08 13:16:31 +09:00
Jeong YunWon d15da722ce Fix return types 2021-01-08 13:10:06 +09:00
Jeong YunWon 1c12a80682 Merge pull request #2392 from RustPython/fix-clippy-1.49
Fix clippy lints for Rust 1.49
2021-01-08 11:32:45 +09:00
Noah 3dbe94c9cf Merge pull request #2394 from pca006132/master
Implements AST Customization (#2388)
2021-01-04 01:01:22 -06:00
pca006132 0af925051c changed Default::default() to () 2021-01-04 14:45:36 +08:00
pca006132 d04c0777fb formatting 2021-01-04 11:21:25 +08:00
pca006132 af3e7dee69 Implements AST Customization (#2388) 2021-01-04 10:33:22 +08:00
Noah b0183b2d09 Merge pull request #2383 from qingshi163/memoryview-cast
Implement Memoryview cast
2021-01-03 13:31:13 -06:00
Noah 0786e4c440 Merge pull request #2393 from nomeata/master
Arguments to builtin.compile() can be named
2021-01-03 11:35:33 -06:00
Joachim Breitner a41fa97bfc Arguments to builtin.compile() can be named
fixes #2390
2021-01-03 11:06:28 +01:00
Noah be40a5d7b9 Fix clippy lints for Rust 1.49 2021-01-02 19:30:57 -06:00
Noah 8b31efb862 Merge pull request #2389 from carbotaniuman/delete_macro
Delete no_kwargs! macro
2021-01-02 18:25:47 -06:00
carbotaniuman 2dcd811ece Delete no_kwargs! macro 2021-01-02 12:05:38 -06:00
Noah abb1f28f2e Merge pull request #2387 from carbotaniuman/magic-methods
use unsigned abs to avoid overflow
2020-12-30 15:12:44 -06:00
carbotaniuman 3ca003a94d Fix test 2020-12-30 11:53:49 -06:00
carbotaniuman eecebef0e0 Add test 2020-12-30 10:56:00 -06:00
Kangzhi Shi 06ff99725b fix memoryview cast 2020-12-30 14:30:27 +02:00
carbotaniuman 9a717a319a use unsigned abs to avoid overflow 2020-12-29 22:17:15 -06:00
Kangzhi Shi fcca2d72f4 Fix memoryview toreadonly 2020-12-27 19:05:33 +02:00
Kangzhi Shi 44048f60cb Implement memoryview cast 2020-12-27 19:03:05 +02:00
Noah d177b8f1a3 Merge pull request #2377 from carbotaniuman/fsum
Add fsum to the math module
2020-12-23 20:49:12 -06:00
Noah 559123c617 Don't push something on the stack when starting a generator 2020-12-23 17:40:33 -06:00
carbotaniuman 353f558f67 Format 2020-12-22 16:25:28 -06:00
carbotaniuman d9b9aea9f5 Address clippy 2020-12-22 11:31:40 -06:00
carbotaniuman 9faed3582a Address review 2020-12-21 22:29:15 -06:00