Commit Graph

12379 Commits

Author SHA1 Message Date
Dimitris Fasarakis Hilliard
ecac89521b Don't call is_emoji_presentation for each invocation of consume_normal 2023-01-31 12:26:05 +02:00
Dimitris Fasarakis Hilliard
51ba929fc6 Match on ascii start/continuation characters before calling functions. 2023-01-31 12:26:05 +02:00
Jim Fasarakis-Hilliard
b6e4471458 Merge pull request #4475 from discord9/pr_no_ctrl_c
feat: allow specifying an implementation flag so as to not set SIGINT handler
2023-01-31 12:24:01 +02:00
Discord9
763eaed2af feat: impl Detail option for not set SIG_INT 2023-01-31 16:32:40 +08:00
Jim Fasarakis-Hilliard
e1ab8a9b42 Fix clippy issues for rust 1.67 (#4478) 2023-01-31 09:46:19 +09:00
Discord9
daa9f116d0 feat: allow not set SIGINT handler 2023-01-28 16:07:04 +08:00
Jim Fasarakis-Hilliard
c0ab8e8256 Merge pull request #4464 from akx/bump-phf
Bump phf to 0.11 series
2023-01-28 00:13:53 +02:00
Aarni Koskela
6d927ef83d Bump phf to 0.11 series
string_cache is still using phf_shared 0.10.0 though
2023-01-25 19:58:43 +02:00
Jim Fasarakis-Hilliard
78e815c861 Merge pull request #4469 from moreal/array-register
Register `array.array` to `collections.abc.MutableSequence`
2023-01-25 18:53:29 +02:00
Lee Dogeon
8284a7cb89 Import from collections.abc instead of _collections_abc
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
2023-01-24 15:51:47 +09:00
Lee Dogeon
03f0e717a7 Correct typo
Co-authored-by: Jim Fasarakis-Hilliard <d.f.hilliard@gmail.com>
2023-01-24 15:37:28 +09:00
Moreal
778b8fdb2b Unmark resolved tests 2023-01-24 05:56:52 +09:00
Moreal
d0bf163641 Register array.array to collections.abc.MutableSequence 2023-01-24 05:56:34 +09:00
Jim Fasarakis-Hilliard
685a7e8ac5 Merge pull request #4466 from moreal/array-contains
Implement `array.array.__contains__`
2023-01-23 16:46:17 +02:00
Moreal
a866d881e5 Add extra_tests for array.__contains__ 2023-01-23 02:18:45 +09:00
Moreal
0527c4eae6 Implement array.array.__contains__ 2023-01-22 22:32:56 +09:00
Chia-Hsiang Cheng
bdd3beb257 Initialize ast when calling compile function (#4462) 2023-01-22 21:26:51 +09:00
Jeong YunWon
3b4b134328 Merge pull request #4465 from yt2b/fix_float_mod
Fix float mod
2023-01-22 20:53:17 +09:00
Jeong YunWon
4f38cb68e4 Merge pull request #4449 from harupy/fix-dict-spread-in-dict
Fix AST generated from a dict literal containing dict unpacking
2023-01-22 20:44:26 +09:00
yt2b
3d52769a47 Add tests 2023-01-22 14:44:35 +09:00
yt2b
8cb426120b Remove the decorator 2023-01-22 14:44:14 +09:00
yt2b
9e8e5a1e81 Fix mod_ 2023-01-22 14:43:58 +09:00
harupy
88e3c83138 Fix comment 2023-01-22 00:06:52 +09:00
Jeong YunWon
62aa942bf5 Merge pull request #4463 from charliermarsh/charlie/cformat
Implement lone-dot semantics for %-style format strings
2023-01-21 22:05:09 +09:00
Jeong YunWon
fc0b08042d refactor try_update_quantity_from_element 2023-01-21 11:57:22 +09:00
Jeong YunWon
225efcaf02 Merge pull request #4454 from moreal/sigaction
Correct exitcode when running through `subprocess.run`
2023-01-21 11:18:04 +09:00
Charlie Marsh
115357ddd1 Implement lone-dot semantics for %-style format strings 2023-01-20 13:23:26 -05:00
Moreal
a3507e7f58 Use unsafe only where necessary 2023-01-19 06:55:49 +09:00
Moreal
189a490e27 Unmark resolved tests 2023-01-18 19:42:15 +09:00
Moreal
52afc1ace5 Reuse flush_std 2023-01-18 14:33:37 +09:00
Moreal
f0c427b2d2 Correct exitcode when running through subprocess.run 2023-01-18 14:05:59 +09:00
Jeong YunWon
ff90fe52ee Merge pull request #4459 from andersk/elif-location
Fix end location for elif blocks
2023-01-18 13:36:44 +09:00
Jeong YunWon
02ee5bcb6a Merge pull request #4458 from fanninpm/test-ctypes
Add test_ctypes from CPython 3.11
2023-01-18 13:32:04 +09:00
Anders Kaseorg
16c1e214d6 Fix end location for elif blocks
Since we parse an `elif:` block as an `If` node, its location should
include its `orelse` node like it would for an `if:` block.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2023-01-17 22:39:44 -05:00
Padraic Fanning
019be59079 Add ctypes/test/*.py from CPython 3.11 2023-01-17 21:12:17 -05:00
Padraic Fanning
84caa50a08 Add test_ctypes from CPython 3.11 2023-01-17 20:36:07 -05:00
Jim Fasarakis-Hilliard
59b191c789 Merge pull request #4457 from harupy/remove-useless-string-from
Remove useless `String::from` in tests
2023-01-16 14:53:05 +02:00
harupy
6e7be1ec8d Remove useless String::from
Signed-off-by: harupy <hkawamura0130@gmail.com>
2023-01-16 21:27:57 +09:00
harupy
f4363c8a86 Revert "Simplify compile_dict"
This reverts commit b31b08a30e.
2023-01-16 01:27:54 +09:00
Jeong YunWon
211bdb0bb7 Merge pull request #4453 from yt2b/fix_error_message
Fix error message
2023-01-16 01:10:35 +09:00
Jeong YunWon
c3709e8b04 Merge pull request #4450 from yt2b/refactor_format_type
Refactor `FormatType`
2023-01-16 01:09:24 +09:00
Jeong YunWon
c79b1fa87a Merge pull request #4451 from notJoon/update-Lib-ctypes-3.11
add Lib/ctypes from cpython 3.11
2023-01-16 00:37:18 +09:00
harupy
964cc1b206 Rename test 2023-01-15 23:36:07 +09:00
harupy
b31b08a30e Simplify compile_dict 2023-01-15 23:20:00 +09:00
harupy
15228f4463 Simplify scan_expression 2023-01-15 22:08:19 +09:00
yt2b
e4102aae8d Remove the decorator 2023-01-15 21:42:25 +09:00
yt2b
ac4fc783ae Fix Error Message 2023-01-15 21:40:49 +09:00
not_joon
09ff71105a add Lib/ctypes from cpython 3.11 2023-01-15 17:08:30 +09:00
harupy
290736ae06 Improve test 2023-01-15 16:53:13 +09:00
harupy
ea9db0ebbe Add Option to Dict.keys field 2023-01-15 16:43:13 +09:00