Commit Graph

7324 Commits

Author SHA1 Message Date
Kangzhi Shi
de7f07b354 impl Pattern.sub 2021-01-20 08:29:57 +02:00
Kangzhi Shi
99aaaf7dba impl Match.expand 2021-01-20 08:29:57 +02:00
Kangzhi Shi
3b549cb83e impl Match.__getitem__ 2021-01-20 08:29:57 +02:00
Kangzhi Shi
d812a94c68 fix Opcode::BIGCHARSET 2021-01-20 08:29:57 +02:00
Kangzhi Shi
994ab4efb3 fix Opcode::CHARSET 2021-01-20 08:29:57 +02:00
Kangzhi Shi
080b417f1f impl Match.groups() 2021-01-20 08:29:57 +02:00
Kangzhi Shi
d95a3b7791 OpMaxUntil zero-width protection 2021-01-20 08:29:57 +02:00
Kangzhi Shi
884f16cad0 rework OpMaxUntil; restruct popping context; add tests; 2021-01-20 08:29:57 +02:00
Kangzhi Shi
f021e6ad65 impl Match.group 2021-01-20 08:29:57 +02:00
Kangzhi Shi
963af86935 impl re.Match object 2021-01-20 08:29:57 +02:00
Kangzhi Shi
b24f69739e general case for count 2021-01-20 08:29:57 +02:00
Kangzhi Shi
dbc54e5725 Impl OpRepeatONe 2021-01-20 08:29:57 +02:00
Kangzhi Shi
cab4694788 impl OpMinUntil 2021-01-20 08:29:57 +02:00
Kangzhi Shi
e732d91c73 impl OpRepeat 2021-01-20 08:29:57 +02:00
Kangzhi Shi
0bda6b7c2e impl OpBranch 2021-01-20 08:29:57 +02:00
Kangzhi Shi
0d0c911d71 impl OpMaxUntil 2021-01-20 08:29:57 +02:00
Kangzhi Shi
acac6189d7 impl opcode groupref and assert_not 2021-01-20 08:29:57 +02:00
Kangzhi Shi
76b5093835 impl Pattern.fullmatch, Pattern.search 2021-01-20 08:29:57 +02:00
Kangzhi Shi
3f2640971a create _sre.Match 2021-01-20 08:29:57 +02:00
Kangzhi Shi
22278e1e88 upgrade sre_parse.py; impl marks count 2021-01-20 08:29:56 +02:00
Kangzhi Shi
67074c1dc3 upgrade re version; implement helper functions; 2021-01-20 08:29:56 +02:00
Kangzhi Shi
344afc96ce WIP structure 2021-01-20 08:29:56 +02:00
Noah
3b875291ee WIP - native _sre 2021-01-20 08:29:56 +02:00
Noah
2ab02e34f1 Update Cargo.lock 2021-01-19 18:12:17 -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