Jim Fasarakis-Hilliard
c48c2290f4
Merge pull request #4331 from DimitrisJim/fix_locations_with
...
Fix end location in with statements.
2022-12-13 19:44:56 +02:00
Dimitris Fasarakis Hilliard
609ac2754c
Fix end location in with statements.
2022-12-13 13:28:17 +02:00
Jim Fasarakis-Hilliard
8d879a5319
Merge pull request #4327 from harupy/fix-end-location-body
...
Fix end location of compound statements
2022-12-13 12:30:21 +02:00
Jim Fasarakis-Hilliard
cbf2ec9312
Merge pull request #4330 from charliermarsh/charlie/store
...
Set `ExprContext::Store` on parenthesized with expressions
2022-12-13 12:21:58 +02:00
Charlie Marsh
75a9b4a352
Set ExprContext::Store on parenthesized with expressions
2022-12-12 09:09:15 -05:00
harupy
7a40d9c876
Refactor
2022-12-12 22:36:34 +09:00
harupy
337b0ead4a
Update snapshot
2022-12-12 22:26:03 +09:00
harupy
c906e431be
Format
2022-12-12 22:18:26 +09:00
harupy
fbb409b755
Resolve conflict
2022-12-12 22:16:46 +09:00
harupy
05e1a7a0aa
Address comments
...
Signed-off-by: harupy <hkawamura0130@gmail.com >
2022-12-12 22:14:05 +09:00
Jeong YunWon
29391eb7c1
Merge pull request #4329 from andersk/paren-contexts
...
Parse Python 3.9+ parenthesized context managers
2022-12-12 19:17:57 +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
Anders Kaseorg
78ca48cd79
Split and simplify some LALRPOP rules
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2022-12-11 22:02:08 -08:00
harupy
7e315c16c6
Use method chaining
2022-12-12 10:24:00 +09:00
harupy
4080b020cf
Remove expectedFailure decorator
2022-12-12 09:40:29 +09:00
harupy
91f1fc73ab
Fix other compound statements
2022-12-12 01:10:42 +09:00
harupy
9f9ba0286e
Fix end location of nodes containing body
2022-12-11 12:35:28 +09:00
Jim Fasarakis-Hilliard
2edd0d264c
Merge pull request #4325 from harupy/4324-follow-up
...
A follow-up for #4324
2022-12-10 20:09:25 +02:00
harupy
6a0f13eb4f
Refactor
2022-12-10 22:01:42 +09:00
Jim Fasarakis-Hilliard
0723271a36
Merge pull request #4324 from harupy/fix-end-location-of-concatenated-string
...
Fix the end location of an implicitly-concatenated string
2022-12-10 14:11:52 +02:00
harupy
d3ba7e0d8a
Remove expectedFailure decorator
2022-12-10 19:45:34 +09:00
harupy
d6d50d4635
Fix
2022-12-10 18:45:36 +09:00
harupy
991c8299f8
Fix plain string
2022-12-10 18:09:26 +09:00
harupy
93f3433e77
Fix the end location of an implicitly-concatenated string
2022-12-10 17:49:57 +09:00
Jim Fasarakis-Hilliard
77e5d0c8ed
Merge pull request #4311 from notJoon/typo-pyserde
...
fix typo in `py_serde`
2022-12-08 15:38:26 +02:00
not_joon
16804297ab
fix typo py_serde
2022-12-08 12:36:45 +09:00
yt2b
f70b8bfdf9
Refactor ExecutingFrame ( #4308 )
...
* Add jump_if function
* Add jump_if_or_pop function
2022-12-06 17:07:31 +02:00
Jeong YunWon
5fed6a35af
Merge pull request #4310 from youknowone/fix-clippy
...
Fix nightly clippy warnings
2022-12-05 12:57:01 +09:00
Jeong YunWon
388e32587b
Merge pull request #4309 from DimitrisJim/openssl_update
...
Bump openssl
2022-12-05 12:19:14 +09:00
Jeong YunWon
d935fbc445
Fix nightly clippy warnings
2022-12-05 12:18:16 +09:00
Dimitris Fasarakis Hilliard
a6bb9da6fe
Bump openssl
2022-12-05 03:15:35 +02:00
Jim Fasarakis-Hilliard
28f9f65ccc
Merge pull request #4306 from harupy/fix-boolop-location
...
Fix `ExprKind::BoolOp` location
2022-12-05 02:41:19 +02:00
harupy
18293dc80c
Remove decorator on test_boolop
2022-12-05 08:23:07 +09:00
harupy
5c63109f4a
add tests
2022-12-04 05:59:51 +09:00
harupy
adec9e94fa
Fix location
2022-12-04 05:45:15 +09:00
Jeong YunWon
39bed0df51
Merge pull request #4304 from yt2b/fix_dev
...
Fix `DEVELOPMENT.md`
2022-12-04 00:02:34 +09:00
yt2b
b690792521
Fix Python object path
2022-12-02 21:49:13 +09:00
Jim Fasarakis-Hilliard
18af44b7c7
Merge pull request #4276 from Gelox/main
...
Add example for calling between rust and python
2022-12-02 10:50:00 +02:00
Jim Fasarakis-Hilliard
b9ed63ed32
Merge pull request #4298 from yt2b/use_bitflags
...
Use bitflags in `Symbol`
2022-11-28 14:25:11 +02:00
yt2b
dd83308396
Use intersects
2022-11-28 20:48:03 +09:00
yt2b
a5ef816c41
Replace bool variable with SymbolFlags
2022-11-28 00:46:10 +09:00
yt2b
dbf27a955d
Fix comment
2022-11-27 23:46:45 +09:00
yt2b
de10ce2d89
Reduce nesting of match expression
2022-11-27 23:43:26 +09:00
yt2b
1ffb652adf
Add SymbolFlags
2022-11-27 23:36:25 +09:00
yt2b
f23ea5eb09
Add bitflags
2022-11-27 23:30:52 +09:00
Jeong YunWon
ec3648981d
Merge pull request #4293 from discord9/update_crossbeam
...
depend: Update crossbeam-utils to "0.8.9" instead of "=0.8.9"
2022-11-26 00:42:12 +09:00
Jeong YunWon
1a13dd94e2
Merge pull request #4296 from yt2b/fix_dev_md
...
Change bytecode path
2022-11-26 00:41:06 +09:00
yt2b
f0759944c2
Change bytecode path
2022-11-26 00:07:39 +09:00
Steve Shi
f54b5556e2
Add Supporting for PyAtomicRef<Option<_>> and PyAtomicRef<PyObject> ( #4286 )
...
* introduce PyObjectAtomicRef
* impl Debug for PyObjectAtomicRef
* add supporting for PyAtomicRef<Option<_>>
* add supporting for PyAtomic<PyObject>
* impl Send Sync
2022-11-24 13:35:56 +02:00
Jeong YunWon
00ba73d2e7
Merge pull request #4288 from yt2b/refactor_lexer
...
Refactor lexer functions
2022-11-24 20:10:48 +09:00