Jeong YunWon
|
71becd4059
|
Merge pull request #4391 from harupy/fix-NamedExpr-location
Fix `NamedExpr` location
|
2023-01-01 15:25:54 +09:00 |
|
Jeong YunWon
|
aff07cf54f
|
Merge pull request #4390 from garychia/islice-reduce
Implement islice.__reduce__
|
2023-01-01 15:25:21 +09:00 |
|
Jeong YunWon
|
10c9db6ab8
|
Merge pull request #4392 from yt2b/fix_prefix_format
Prefix format with padding doesn't work correctly.
|
2023-01-01 15:03:09 +09:00 |
|
yt2b
|
c8c5abe5e4
|
Add test
|
2023-01-01 00:21:41 +09:00 |
|
yt2b
|
800d0f9370
|
Fix prefix format
|
2023-01-01 00:21:22 +09:00 |
|
harupy
|
49b9f490d9
|
Fix NamedExpr location
|
2022-12-31 23:32:08 +09:00 |
|
Jeong YunWon
|
f2bab8005f
|
Merge pull request #4388 from branai/stdin-silent
Fix be silent even with no file using stdin
|
2022-12-31 22:29:22 +09:00 |
|
Chia-Hsiang Cheng
|
49597bc523
|
Add tests for islice
|
2022-12-31 21:23:37 +08:00 |
|
Chia-Hsiang Cheng
|
2c061c095d
|
Implement reduce for islice
|
2022-12-31 21:23:10 +08:00 |
|
Bijan Naimi
|
4afcf76b62
|
fixed formatting problems
|
2022-12-30 18:33:29 -08:00 |
|
Jeong YunWon
|
8cb2b82920
|
Merge pull request #4386 from yt2b/fix_character_format
Fix character format
|
2022-12-31 11:31:44 +09:00 |
|
Jeong YunWon
|
cb4bd51489
|
Merge pull request #4373 from andersk/named
Allow named expression in subscript and set comprehension
|
2022-12-31 10:58:09 +09:00 |
|
Jeong YunWon
|
dee1337600
|
Merge pull request #4379 from harupy/refactor-FStringParser
Refactor `FStringParser`
|
2022-12-31 10:56:52 +09:00 |
|
Bijan Naimi
|
19e5590824
|
added quiet arg and stdin pipe check
|
2022-12-30 17:53:20 -08:00 |
|
Jeong YunWon
|
b7eb46abad
|
Merge pull request #4384 from harupy/parse-formatted-value
Fix the location of `FormattedValue`
|
2022-12-31 10:52:44 +09:00 |
|
yt2b
|
24c2b8842b
|
Remove test
|
2022-12-31 01:35:09 +09:00 |
|
yt2b
|
3741321b29
|
Add test
|
2022-12-31 00:58:18 +09:00 |
|
yt2b
|
e4244d62d8
|
Fix character format
|
2022-12-31 00:44:15 +09:00 |
|
Jim Fasarakis-Hilliard
|
2c8af125e3
|
Merge pull request #4383 from yt2b/fix_hex_prefix
Fix hex prefix
|
2022-12-30 16:52:27 +02:00 |
|
harupy
|
d39269405b
|
Fix tests
|
2022-12-30 22:46:31 +09:00 |
|
harupy
|
17f7efedc5
|
Fix FormattedValue location
|
2022-12-30 21:39:29 +09:00 |
|
yt2b
|
f07e03cde7
|
Add test
|
2022-12-30 20:03:20 +09:00 |
|
Jim Fasarakis-Hilliard
|
bdb9c1dbe4
|
Merge pull request #4382 from anilbey/duplicate-keyword-arg
arg name to be written upon duplicate kwargs error #4381
|
2022-12-30 11:40:27 +02:00 |
|
yt2b
|
779d05dc02
|
Fix hex prefix
|
2022-12-30 09:34:19 +09:00 |
|
anilbey
|
b76441b35f
|
Update compiler/parser/src/error.rs
Co-authored-by: fanninpm <fanninpm@miamioh.edu>
|
2022-12-29 22:56:34 +01:00 |
|
Anil Tuncel
|
ce9e64a642
|
format using cargo fmt
|
2022-12-29 22:15:44 +01:00 |
|
Anil Tuncel
|
9e2b680090
|
arg name to be written upon duplicate kwargs error #4381
|
2022-12-29 22:06:41 +01:00 |
|
Jim Fasarakis-Hilliard
|
3a5716da2a
|
Merge pull request #4380 from nicku12345/lex_error_duplicate_function_args
add lex error for function args
|
2022-12-29 17:16:54 +02:00 |
|
Nick Liu
|
7e3c59d21d
|
remove expectedFailure decorators
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
2d5e044993
|
format code
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
58ff3e8aaf
|
remove expectedFailure decorator in test_argument_handling
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
c7c9602ea4
|
use is_none
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
2c09785b7a
|
add arg_name in duplicate argument error msg
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
0e66e143fd
|
added check: named arguments must follow bare star
|
2022-12-29 22:49:26 +08:00 |
|
Nick Liu
|
62fd967cd4
|
added lex error: DuplicateArguments
|
2022-12-29 22:49:26 +08:00 |
|
Jim Fasarakis-Hilliard
|
2eb87cac71
|
Merge pull request #4367 from andersk/star-order
Prohibit starred arguments after double-starred arguments
|
2022-12-29 16:27:16 +02:00 |
|
Jim Fasarakis-Hilliard
|
27d315c3d1
|
Merge pull request #4344 from moreal/base64-trailing-bits
Allow trailing bits while decoding base64
|
2022-12-29 15:06:59 +02:00 |
|
Jim Fasarakis-Hilliard
|
d4c0be20a4
|
Merge pull request #4378 from yt2b/fix_opecode
`eval` doesn't raise correct exception
|
2022-12-29 15:03:25 +02:00 |
|
Harutaka Kawamura
|
af4a43d725
|
Update compiler/parser/src/fstring.rs
Co-authored-by: Zgarbul Andrey <zgarbul.andrey@gmail.com>
|
2022-12-29 08:10:33 +09:00 |
|
Anders Kaseorg
|
6b12aeef6a
|
Allow named expression in set comprehension: {a := b for c in d}
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-12-28 09:57:32 -08:00 |
|
Anders Kaseorg
|
71a278c086
|
Allow named expression in subscript: a[b := c]
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-12-28 09:57:32 -08:00 |
|
yt2b
|
942dccfaae
|
Use fast_isinstance
|
2022-12-29 01:44:44 +09:00 |
|
harupy
|
7b20223c48
|
Rename
|
2022-12-29 01:01:41 +09:00 |
|
harupy
|
f8da501ba3
|
Clean up FStringParser
|
2022-12-29 00:08:59 +09:00 |
|
yt2b
|
42e6eecf7f
|
Remove the decorator
|
2022-12-28 22:18:21 +09:00 |
|
yt2b
|
03eb2dd11b
|
Fix LoadNameAny opecode
|
2022-12-28 22:14:22 +09:00 |
|
Jim Fasarakis-Hilliard
|
b1db1be031
|
Merge pull request #4377 from andersk/duplicate-from
Remove duplicate declaration of "from" token
|
2022-12-28 11:19:54 +02:00 |
|
Jim Fasarakis-Hilliard
|
73cbfb2ede
|
Merge pull request #4376 from fanninpm/test-named-expressions-3.11
Update test_named_expressions.py to CPython 3.11
|
2022-12-28 11:11:58 +02:00 |
|
Jim Fasarakis-Hilliard
|
f97a80ef07
|
Merge pull request #4372 from harupy/refactor-parse_formatted_value
Refactor `FStringParser.parse_formatted_value`
|
2022-12-28 11:11:02 +02:00 |
|
Anders Kaseorg
|
b44a660e4b
|
Remove duplicate declaration of "from" token
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
|
2022-12-27 18:56:24 -08:00 |
|