Commit Graph

61 Commits

Author SHA1 Message Date
Noah
afefd163a6 Merge pull request #2438 from RustPython/coolreader18/compile_call-classdef
Handle splat args in bases/kwargs for __build_class__
2021-02-16 17:57:26 -06:00
Noah
8f68959a98 Add snippet test 2021-02-15 21:39:43 -06:00
boris
cc2c46b1b7 don't check builtin signatures 2021-02-11 04:08:20 -05:00
Noah
39ff807763 Merge pull request #2431 from merkrafter/fix/decimal-powers-formatting
Fix formatting of decimal powers below 1 million
2021-01-31 22:29:35 -06:00
Noah
81176852c6 Merge pull request #2411 from verhovsky/detect-incompat-fn-signatures
Detect incompatible function signatures in whats_left
2021-01-31 18:41:43 -06:00
Mark Umnus
6d663f4157 Fix formatting of decimal powers below 1 million
The previous implementation truncated even 10.0 to 1, because it cut away any
combination of trailing 0's and .'s.
2021-02-01 01:25:58 +01:00
boris
646242d5a9 report exception when couldn't import 2021-01-29 15:32:41 -05:00
boris
68e86b8f61 get attribute when comparing it 2021-01-29 15:25:24 -05:00
boris
eda93e1001 pass attribute to extra_info
not its name
2021-01-29 13:08:44 -05:00
boris
b3b9196b9e remove comment 2021-01-29 12:43:08 -05:00
boris
f258df5fc2 convert filter to list exp 2021-01-29 12:27:45 -05:00
boris
f03277068e return string representation of inspect.signature exceptions 2021-01-29 12:24:41 -05:00
boris
2ebc300ed5 update comments 2021-01-29 11:58:47 -05:00
boris
6e948d7982 create a dictionary instead of printing
so that we can print this stuff out as json later
2021-01-29 11:55:29 -05:00
Noah
869e4a7012 Implement modular inverse 2021-01-25 22:38:12 -06:00
Noah
97e5c2c890 Merge pull request #2352 from qingshi163/_sre-wip
[WIP] _sre
2021-01-25 14:43:22 -06:00
Noah
19f9ca6390 Merge pull request #2399 from RustPython/coolreader18/asdl
Generate rustpython-ast based off of Python.asdl
2021-01-25 11:09:31 -06:00
boris
13d6754b1d Detect incompatible function signatures in whats_left 2021-01-24 01:07:00 -05:00
boris
5c424857f4 Detect modules that aren't in sys.path in whats_left 2021-01-22 22:30:59 -05:00
boris
d58b89d5c6 Fix whats_new.sh not finding libraries that are directories 2021-01-22 20:23:23 -05:00
Kangzhi Shi
5794c46adf fix multiple bugs; pass tests 2021-01-22 16:40:33 +02:00
Kangzhi Shi
5232a3db3e fix back_peek_char 2021-01-21 19:24:10 +02:00
Kangzhi Shi
df42fd913f fix at_beginning 2021-01-21 16:14:23 +02:00
Kangzhi Shi
81d791b04b fix op branch 2021-01-21 12:48:32 +02:00
Kangzhi Shi
ef7c296001 impl Match.groupdict 2021-01-20 08:29:57 +02:00
Kangzhi Shi
de7f07b354 impl Pattern.sub 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
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
Noah
bcf58d9091 Misc fixes 2021-01-14 12:37:37 -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
ChJR
6da4d9714a Add more tests for general formatting of floating numbers
Check for trailing zeros.
2020-11-20 03:14:19 +09:00
ChJR
245ed70e4f Add tests for general formatting of floating numbers
Check for trailing zeros.
2020-11-19 23:07:54 +09:00
ChJR
07a857b4ad Add tests for formatting floating numbers 2020-11-10 02:30:51 +09:00
Noah
a87ce5ba5d Skip more tests for macos 2020-11-02 12:41:44 -06:00
Noah
525ff493a1 Merge pull request #2311 from rodrigocam/master
Add socket sendfile function
2020-10-28 12:18:52 -05:00
Rodrigo Oliveira
a8d579dada Add guard clause to check if os has sendfile function 2020-10-27 18:34:22 -03:00
Rodrigo Oliveira
01e6f735a0 Remove socket sendfile wrong implementation 2020-10-27 17:50:40 -03:00
Rodrigo Oliveira
a656c51696 Add os sendfile function and python test 2020-10-27 17:14:53 -03:00
Noah
0aa177de1d Merge pull request #2307 from ChJR/feature/format_float
Fix default format(float) result when the number is too big
2020-10-26 12:19:06 -05:00
ChJR
2219382928 Add tests for default format(float) working 2020-10-26 01:01:50 +09:00
ChJR
729aeff795 Move tests to extra_tests. 2020-10-26 00:45:30 +09:00
Kangzhi Shi
1d4cfa4381 bytes pickle with subclass 2020-10-23 14:42:13 +02:00
Kangzhi Shi
f348c56eea Refactor ByteInnerNewOptions 2020-10-20 06:53:32 +00:00
Kangzhi Shi
3fe8a30ca0 bytesinner from pytuple 2020-10-10 17:01:00 +09:00