yt2b
|
f84dd2e84f
|
Implement format validation
|
2023-01-05 23:55:23 +09:00 |
|
Jeong YunWon
|
2f94c07609
|
Merge pull request #4361 from yt2b/fix_fstring
Fix f-string padding
|
2023-01-05 23:10:59 +09:00 |
|
Jeong YunWon
|
062a543c7f
|
Fix f-string padding
Co-Authored-By: yt2b <reinventing.the.wheels@gmail.com>
|
2023-01-05 22:29:11 +09:00 |
|
Jim Fasarakis-Hilliard
|
ed5b182c44
|
Merge pull request #4420 from harupy/simplify-string-check
Simplify string check in `Lexer.lex_identifier`
|
2023-01-05 12:45:52 +02:00 |
|
yt2b
|
d3b587afc7
|
Remove the decorators
|
2023-01-05 18:52:11 +09:00 |
|
yt2b
|
59bfc51769
|
Add test
|
2023-01-05 18:52:10 +09:00 |
|
harupy
|
c640312051
|
Address comments
|
2023-01-05 18:24:54 +09:00 |
|
Bijan Naimi
|
134355e1e6
|
Improved the fix for the continuing problem in the shell (#4406)
|
2023-01-05 10:12:29 +09:00 |
|
Jim Fasarakis-Hilliard
|
144f61932f
|
Merge pull request #4419 from yt2b/implement_float_format_validation
Implement float format validation
|
2023-01-04 20:27:20 +02:00 |
|
harupy
|
d775965e3d
|
Use try_from
|
2023-01-05 01:18:30 +09:00 |
|
harupy
|
f02f3279b0
|
Simplify string check
|
2023-01-04 23:57:50 +09:00 |
|
yt2b
|
980e578d27
|
Remove map_err
|
2023-01-04 23:36:34 +09:00 |
|
yt2b
|
de58b7cb00
|
Add tests
|
2023-01-04 23:13:55 +09:00 |
|
yt2b
|
a79d3ad61b
|
Fix functions
|
2023-01-04 23:08:20 +09:00 |
|
Jim Fasarakis-Hilliard
|
cad2adc299
|
Merge pull request #4326 from yt2b/fix_list_remove
Fix `PyList.remove`
|
2023-01-04 13:28:59 +02:00 |
|
threeifbyair
|
9d711c805a
|
Ensure ScandirIterator does not leak file handles under Unix-like systems (#4307)
* Ensure ScandirIterator does not leak file handles under Unix-like systems.
|
2023-01-04 13:18:32 +02:00 |
|
Jeong YunWon
|
9af9c1643d
|
Merge pull request #4417 from harupy/add-with-offset-methods
Add `with_col_offset` and `with_row_offset` to `Location` for conveniece
|
2023-01-04 17:07:31 +09:00 |
|
Jeong YunWon
|
36ec2e44d7
|
Merge pull request #4413 from harupy/more-generic-window-impl
Update `CharWindow` in `compiler/parser/src/lexer.rs` to allow slicing
|
2023-01-04 17:06:06 +09:00 |
|
Jeong YunWon
|
8f87dbcf28
|
Merge pull request #4412 from yt2b/implement_format_validation
Implement integer format validation
|
2023-01-04 16:50:26 +09:00 |
|
harupy
|
9e0d31d12d
|
Use Self
|
2023-01-04 13:19:23 +09:00 |
|
harupy
|
a6cebc4f51
|
Add with_col_offset and with_row_offset to Location
|
2023-01-04 13:16:03 +09:00 |
|
Jim Fasarakis-Hilliard
|
096a604c30
|
Merge pull request #4415 from harupy/remove-incorrect-empty-expression-error
Remove incorrect `EmptyExpression` in `StringParser.parse_formatted_value`
|
2023-01-03 23:12:53 +02:00 |
|
harupy
|
57b87c6d2d
|
Address comment
|
2023-01-04 00:03:18 +09:00 |
|
harupy
|
60ce07d829
|
Remove incorrect EmptyExpression in parse_formatted_value
|
2023-01-03 23:55:50 +09:00 |
|
harupy
|
b5db39441c
|
Improve CharWindow
|
2023-01-03 17:27:35 +09:00 |
|
yt2b
|
980abb0533
|
Remove the decorators
|
2023-01-03 16:26:53 +09:00 |
|
yt2b
|
fb6b3836ad
|
Add test
|
2023-01-03 16:22:57 +09:00 |
|
yt2b
|
555987e97f
|
Fix functions
|
2023-01-03 16:22:27 +09:00 |
|
yt2b
|
b9e2b716dd
|
Add function
|
2023-01-03 16:10:35 +09:00 |
|
yt2b
|
e11cda970a
|
Implement From trait
|
2023-01-03 16:08:41 +09:00 |
|
Jeong YunWon
|
478aa41cc6
|
Merge pull request #4410 from harupy/remove-repetitive-to_string
Remove repetitive `to_string` in `parse_escaped_char`
|
2023-01-03 15:27:50 +09:00 |
|
harupy
|
8f5bd0bbe3
|
Remove repetitive to_string in parse_escaped_char
|
2023-01-03 14:48:00 +09:00 |
|
Jeong YunWon
|
6cbe503d7b
|
Merge pull request #4409 from harupy/improve-error-conversion-in-string-parser
Improve error conversion in `string_parsers.rs`
|
2023-01-03 14:39:01 +09:00 |
|
harupy
|
10494c9bb1
|
Fix clippy error
|
2023-01-03 12:51:31 +09:00 |
|
harupy
|
b2be3145c5
|
Improve error conversion in string_parsers.rs
|
2023-01-03 12:46:10 +09:00 |
|
Jeong YunWon
|
de3d6d5944
|
Merge pull request #4405 from harupy/use-drain
Use `drain` to simplify `compiler/parser/src/string_parser.rs`
|
2023-01-03 12:41:23 +09:00 |
|
Jeong YunWon
|
536ce4df00
|
Merge pull request #4403 from yt2b/fix_exponential_format
Fix exponential format
|
2023-01-03 04:33:07 +09:00 |
|
Jeong YunWon
|
d0f6af03e5
|
Merge pull request #4399 from branai/shell-continuing-fix
Fix IndentationError works differently with cpython in interective shell
|
2023-01-03 04:32:03 +09:00 |
|
harupy
|
76e747a87e
|
Use drain
|
2023-01-03 01:23:44 +09:00 |
|
Jim Fasarakis-Hilliard
|
72c0a06557
|
Merge pull request #4404 from harupy/merge-match-arms
Merge match arms in `StringParser.parse_formatted_value`
|
2023-01-02 18:18:40 +02:00 |
|
Jim Fasarakis-Hilliard
|
648061979e
|
Merge pull request #4402 from harupy/remove-unreachable-if
Remove unreachable code in `compiler/parser/src/string_parser.rs`
|
2023-01-02 17:05:45 +02:00 |
|
harupy
|
4e681b5b6f
|
Merge match arms in parse_formatted_value
|
2023-01-02 23:16:51 +09:00 |
|
harupy
|
0df1c9fc37
|
Fix match
|
2023-01-02 22:54:48 +09:00 |
|
yt2b
|
bd35b00184
|
Add test
|
2023-01-02 22:51:49 +09:00 |
|
yt2b
|
8e85234134
|
Fix format_int
|
2023-01-02 22:51:49 +09:00 |
|
harupy
|
1e2e880b52
|
Simplify code using match
|
2023-01-02 22:26:09 +09:00 |
|
Jeong YunWon
|
4d53c7cb27
|
Merge pull request #4401 from youknowone/cformat
Move format/cformat basic implementations to rustpython-common
|
2023-01-02 22:14:26 +09:00 |
|
harupy
|
ad15d83f2d
|
Remove unreachable code in compiler/parser/src/string_parser.rs
|
2023-01-02 20:48:40 +09:00 |
|
Jeong YunWon
|
23c7b92aff
|
Move (c)format basic implementations to rustpython-common
|
2023-01-02 20:21:36 +09:00 |
|
yt2b
|
c85f8990f5
|
Fix separated format (#4397)
|
2023-01-02 17:37:32 +09:00 |
|