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
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
Jeong YunWon
68d26955b3
Merge pull request #4369 from harupy/fix-make_tokenizer_located
...
Fix `make_tokenizer_located`
2022-12-27 23:26:56 +09:00
harupy
70ce090476
Fix make_tokenizer_located
2022-12-27 21:54:18 +09: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
Bijan Naimi
4528889ae3
simpler fix for eval whitespaces
2022-12-26 19:03:45 -08:00
Bijan Naimi
2fc285f5bc
removing preceding whitespaces, tabs, and newlines for evals only
2022-12-26 17:27:05 -08:00
Jim Fasarakis-Hilliard
d7e1322ef9
Merge pull request #4360 from jan-krecke/jan-krecke/unraisablehook_fix
...
Fix assertion error at unraisable exception
2022-12-26 14:30:07 +02:00
Jeong YunWon
247e815880
Merge pull request #4359 from yt2b/check_bom
...
Add BOM check
2022-12-26 16:03:51 +09:00
Jeong YunWon
06a815f8c7
Merge pull request #4358 from harupy/fix-slice-location
...
Fix `Slice` location
2022-12-26 16:03:09 +09:00
Jeong YunWon
647d542d38
Merge pull request #4356 from andersk/with-tuple-named
...
Fix parsing of tuple with named expression as context manager
2022-12-26 16:02:17 +09:00
Riley Sutton
401ab907f5
Fix unwrap issue causing panic
2022-12-26 14:38:09 +11:00
yt2b
452e3a3b36
Fix comment
2022-12-26 09:30:12 +09:00
Jan Krecke
a442056e24
changed unraisable exception type to base exception
...
- print exception type to screen to match cpython behaviour
- included sample script to illustrate behaviour at sys.exit()
2022-12-25 13:58:15 +09:00
yt2b
253fcfb6c4
Remove the decorators
2022-12-25 13:29:33 +09:00
yt2b
7b830dc004
Add BOM check
2022-12-25 11:15:29 +09:00
harupy
d7f7fd2e21
Fix slice location
2022-12-25 09:37:07 +09:00
Anders Kaseorg
c7d03d9cb4
Fix parsing of tuple with named expression as context manager
...
Because the ‘with’ item grammar disallows named expressions, CPython
parses ‘with (a := 0, b := 1):’ as a tuple rather than two ‘with’
items.
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-12-24 13:15:53 -08:00
Jeong YunWon
d1811c72e7
Merge pull request #4354 from harupy/fix-IfExp-locations
...
Fix `IfExp` location
2022-12-25 03:56:56 +09:00
Jeong YunWon
38a80071dc
Merge pull request #4355 from yt2b/fix_pysymbol
...
make `test_globals` pass
2022-12-25 02:10:39 +09:00
harupy
1589072680
Fix IfExp location
2022-12-25 00:33:02 +09:00
Jeong YunWon
9acfef85a9
Merge pull request #4352 from andersk/simplify-paren-contexts
...
Simplify parenthesized context manager parsing with LALRPOP conditions
2022-12-25 00:24:36 +09:00
Anders Kaseorg
5c543445c3
Simplify parenthesized context manager parsing with LALRPOP conditions
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-12-24 23:13:10 +09:00
Jeong YunWon
31b89fc124
Merge pull request #4347 from qingshi163/refactor-number
...
Refactor Number Protocol &PyNumber -> PyNumber
2022-12-24 22:30:37 +09:00
Kangzhi Shi
f16a48df39
Refactor Number Protocol
2022-12-24 15:42:06 +09:00
yt2b
f3eb95271e
Remove the decorator
2022-12-24 14:38:44 +09:00
yt2b
464d92a192
Fix PySymbol
2022-12-24 14:29:48 +09:00
Jeong YunWon
1b6cb170e9
Merge pull request #4345 from coolreader18/tidy-derive
...
Clean up derive impl a bit
2022-12-24 10:15:30 +09:00
Jeong YunWon
5042230e10
Merge pull request #4342 from qingshi163/current-vm
...
Store Current VirtualMachine Pointer in LocalKey
2022-12-24 09:44:58 +09:00
Jeong YunWon
d1af6b5085
Merge pull request #4341 from evilpie/jit-tuple
...
Support variable exchange (aka basic tuple support)
2022-12-24 09:23:49 +09:00
Jeong YunWon
54764c8438
Merge pull request #4339 from DimitrisJim/ssl_android
...
Fix build error for ssl on android.
2022-12-24 09:10:02 +09:00
Jeong YunWon
3dd786fb0d
Merge pull request #4348 from harupy/fix-binop-location
...
Fix the location of `BinOp`
2022-12-24 09:09:24 +09:00
Jeong YunWon
ac9be9feb4
Merge pull request #4351 from yt2b/fix_pysymbol
...
make `test_local` pass
2022-12-24 09:08:33 +09:00
yt2b
59c6c6f7f1
Remove the decorator
2022-12-22 23:31:23 +09:00
yt2b
9c81ce646a
Fix is_local
2022-12-22 23:27:36 +09:00
yt2b
85f65740c0
Add member in PySymbol
2022-12-22 23:17:52 +09:00
harupy
083191db47
Fix the location of BinOp
2022-12-21 22:05:05 +09:00
Noa
185dd4a795
Split derive-impl and derive
2022-12-19 18:48:17 -06:00
Noa
38a735af3b
Tidy up -derive, make use of let-else
2022-12-19 18:48:17 -06:00
Kangzhi Shi
8ad7ce5475
add with_current_vm
2022-12-18 21:30:17 +02:00
Tom Schuster
85233920e5
Support variable exchange (aka basic tuple support)
2022-12-18 17:56:40 +01:00
Jim Fasarakis-Hilliard
c01f014b12
Merge pull request #4340 from harupy/fix-locations-of-parethesized-expressions
...
Fix the start and end locations of `Tuple`
2022-12-18 15:17:40 +02:00
harupy
1bebc78cf7
Remove expectedFailure decorators
2022-12-18 21:27:53 +09:00
harupy
fdbfe156ca
Fix locations of parethesized expressions
2022-12-18 20:53:30 +09:00
Dimitris Fasarakis Hilliard
29eaab0abf
Fix build error for ssl on android.
2022-12-18 11:45:40 +02:00
Jim Fasarakis-Hilliard
b4b74a873c
Merge pull request #4338 from yt2b/fix_symbol_scope
...
Fix panic about warlus operator inside mutiple comprehensions.
2022-12-18 11:39:35 +02:00