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
yt2b
980abb0533
Remove the decorators
2023-01-03 16:26:53 +09:00
yt2b
c85f8990f5
Fix separated format ( #4397 )
2023-01-02 17:37:32 +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
b7eb46abad
Merge pull request #4384 from harupy/parse-formatted-value
...
Fix the location of `FormattedValue`
2022-12-31 10:52:44 +09:00
harupy
d39269405b
Fix tests
2022-12-30 22:46:31 +09:00
Nick Liu
7e3c59d21d
remove expectedFailure decorators
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
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
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
42e6eecf7f
Remove the decorator
2022-12-28 22:18:21 +09:00
Padraic Fanning
3d903efdef
Mark failing tests
2022-12-27 21:28:14 -05:00
Padraic Fanning
4ed49e360e
Comment out crashing tests (SyntaxError)
2022-12-27 21:26:14 -05:00
Padraic Fanning
67b9300f74
Update test_named_expressions.py to CPython 3.11
2022-12-27 21:13:20 -05:00
Anders Kaseorg
52ce437951
Prohibit starred arguments after double-starred arguments
...
CPython prohibits ‘f(**kwargs, *args)’; we should too.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-12-27 12:49:50 -08:00
Moreal
dc9e958bb3
Unmark fixed tests on test_binascii
2022-12-28 05:26:12 +09:00
Moreal
04537b1993
Mark failed tests on test_binascii yet
2022-12-28 05:25:23 +09:00
Moreal
9e9c409644
Update test_binascii.py to CPython 3.11
2022-12-28 05:22:06 +09:00
Jim Fasarakis-Hilliard
1d8269fb72
Merge pull request #4366 from branai/eval-whitespaces
...
Fix eval doesn't work correctly
2022-12-27 20:23:03 +02:00
Bijan Naimi
63b982bd38
removing decorators for passing tests
2022-12-27 09:03:14 -08:00
Jim Fasarakis-Hilliard
64a14ec297
Merge pull request #4362 from rileysu/main
...
Fix unwrap issue causing panic
2022-12-27 14:10:35 +02:00
Riley Sutton
83880893d5
Enable previously failing tests
2022-12-27 18:06:56 +11:00
yt2b
253fcfb6c4
Remove the decorators
2022-12-25 13:29:33 +09:00
yt2b
f3eb95271e
Remove the decorator
2022-12-24 14:38:44 +09:00
yt2b
59c6c6f7f1
Remove the decorator
2022-12-22 23:31:23 +09:00
harupy
1bebc78cf7
Remove expectedFailure decorators
2022-12-18 21:27:53 +09:00
harupy
fbb409b755
Resolve conflict
2022-12-12 22:16:46 +09:00
Anders Kaseorg
b7f4ff7283
Parse Python 3.9+ parenthesized context managers
...
Since the upstream grammar for this is not LR(1), we abuse LALRPOP
macros and the Into/TryInto traits to build a cover grammar that
converts to either tuples or `with` items after additional validation.
It’s annoying and ugly, but something like this is basically our only
option short of switching to a more powerful parser algorithm.
Fixes #4145 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-12-12 00:47:33 -08:00
harupy
4080b020cf
Remove expectedFailure decorator
2022-12-12 09:40:29 +09:00
yt2b
70294bca50
Remove the skip decorator
2022-12-11 10:52:59 +09:00
harupy
d3ba7e0d8a
Remove expectedFailure decorator
2022-12-10 19:45:34 +09:00
harupy
18293dc80c
Remove decorator on test_boolop
2022-12-05 08:23:07 +09:00
Kangzhi Shi
92e027af34
import tomllib from cpython3.11
2022-11-05 21:36:25 +02:00
Kim, YeonWoo
cc809f3237
Fix repr for union
2022-10-29 15:52:00 +09:00
Devon Hollowood
3739372d43
Implement more accurate hypot()
...
This uses the improved-accuracy hypotenuse algorithm from Borges 2019,
see https://arxiv.org/abs/1904.09481 .
2022-10-26 23:44:13 -07:00
Jeong YunWon
426f9f6359
Merge pull request #4231 from dvermd/improve_string_fstring_coverage
...
Improve string fstring coverage
2022-10-27 13:55:57 +09:00
Jeong YunWon
8ac45b6fb9
Merge pull request #4251 from devonhollowood/cleanup
...
Clean up a few obsolete TODOs in test_math.py
2022-10-27 13:41:35 +09:00
Devon Hollowood
dd5da766ab
Clean up a few obsolete TODOs in test_math.py
...
It looks like these were accidentally left in the codebase after #2773 .
2022-10-26 13:59:00 -07:00
dvermd
af04e3e92c
add format precision for string
2022-10-26 21:30:52 +02:00
dvermd
4f14fc746c
improve col_offset in new line and lalr
2022-10-26 21:30:51 +02:00
dvermd
c816b0b4da
Tag test_fstring failing tests as expectedFailure
2022-10-26 21:30:51 +02:00
dvermd
8dfab087f2
add CPython 3.10.8 fstring test
2022-10-26 21:30:31 +02:00
dvermd
dc595d1276
improve fstring parser
...
part of: #1671
2022-10-26 21:15:24 +02:00
dvermd
f2bfb78d3c
Fix ast types' _fields and use 0-based column
2022-10-27 03:09:38 +09:00
Jim Fasarakis-Hilliard
0b08786a04
Merge pull request #4248 from devonhollowood/log
...
Use improved log2() implementation for log10()
2022-10-25 23:09:45 +03:00
Kim, YeonWoo
b5aa8c8284
Add StopIteration type to marshal
2022-10-25 20:48:14 +09:00
Devon Hollowood
82b4990224
Use improved log2() implementation for log10()
...
This also fixes a bug in the log2() implementation, where very large
negative integer arguments would not raise an exception (and instead
would turn into NaNs).
2022-10-24 18:46:49 -07:00
Jeong YunWon
5466b17f03
Merge pull request #4241 from devonhollowood/log2
...
Allow log2() to work on large integers
2022-10-24 23:45:31 +09:00