R. Bernstein
c7ebdb344b
Merge pull request #360 from rocky/3.10-adjust
...
Try Travis with new xdis
2021-10-21 15:52:40 -04:00
rocky
438c3b8d1d
Add Windows and OSX CI
2021-10-21 15:47:15 -04:00
rocky
aa1d7abfdc
Worflows CI testing
2021-10-21 15:42:22 -04:00
rocky
d3e30cf0e0
Update Python version in appveyor
2021-10-21 14:23:14 -04:00
rocky
36efc1fc8a
Try 1st workflows CI
2021-10-21 14:18:56 -04:00
rocky
f00080317b
Add pyston-2.3 in testing
2021-10-21 14:15:26 -04:00
rocky
162423895e
Administrivia
2021-10-21 02:31:59 -04:00
rocky
f2750cff50
Correct pytest/test_grammar.py for new regime
2021-10-21 02:28:48 -04:00
rocky
41314f95bb
More Python version comparison adjustments
2021-10-19 16:30:56 -04:00
rocky
0645738775
Revise Python version comparisions
...
And set scanner.show_asm for 3.6
2021-10-19 05:54:54 -04:00
rocky
ceb7c659bd
Python version comparison adjustments
2021-10-18 12:23:53 -04:00
rocky
8ac7a75372
Use tuples not floats in Python release comparison
2021-10-18 11:59:02 -04:00
rocky
15efaffe8d
More Python version tuple comparison conversion
2021-10-16 11:41:22 -04:00
rocky
e8e006bb8c
More Python version comparison conversions
2021-10-16 11:33:03 -04:00
rocky
c68b74a9c6
new dis - Python compisons involving tuples
2021-10-15 23:39:59 -04:00
rocky
f4bb0c44fe
Try Travis with new xdis
2021-10-12 17:24:19 -04:00
R. Bernstein
8d81f4ab27
Update HOW-TO-REPORT-A-BUG.md
2021-09-16 06:23:25 -04:00
R. Bernstein
e0a56d4739
Update HOW-TO-REPORT-A-BUG.md
2021-09-03 07:41:38 -04:00
R. Bernstein
054364cb22
Update HOW-TO-REPORT-A-BUG.md
2021-09-03 07:32:53 -04:00
R. Bernstein
83c8313a8e
Update HOW-TO-REPORT-A-BUG.md
2021-09-03 07:31:03 -04:00
rocky
184bda1b03
Work around broken modularity in python_parser
2021-08-27 02:13:09 -04:00
rocky
f374485e93
Another fragment fix for 3.8
2021-07-29 14:23:17 -04:00
rocky
fe7df87288
Sync 3.8 and Makefile changes with decompyle3
...
Makefile: pyston 2.3 tolerance
fragments: 3.8 comprehension adjustments
2021-07-29 13:16:03 -04:00
rocky
cfbb25df3d
Fix some small bugs
2021-07-08 05:40:43 -04:00
rocky
d4174832a1
Black shouldn't format version.py
2021-06-23 11:46:31 -04:00
rocky
345de81d06
Administriva: add some config files
...
.editoryconfig: tell editors how to format this
setup.cfg: general project setup outside of Python-specific stuff
2021-06-23 02:09:32 -04:00
R. Bernstein
dd8f22e698
Merge pull request #352 from rocky/lambda-bug
...
Fixes #360
2021-06-15 22:46:46 -04:00
rocky
96b1e435c2
Fixes #360
2021-06-15 22:42:55 -04:00
R. Bernstein
971757e997
Merge pull request #348 from IzeBerg/patch-1
...
'NoneType' object is not iterable with numproc > 1
2021-06-14 13:44:49 -04:00
Renat Iliev
2b154e0b88
'NoneType' object is not iterable with numproc > 1
...
main calls with source_paths=None, but it needs to be iterable
2021-06-14 19:50:18 +03:00
R. Bernstein
5d35a75743
Merge pull request #340 from timgates42/bugfix_typo_unnecessary
...
docs: fix simple typo, unecessary -> unnecessary
2020-12-31 03:22:09 -05:00
Tim Gates
fc38e23d8f
docs: fix simple typo, unecessary -> unnecessary
...
There is a small typo in test/simple_source/looping/12_if_while_true_pass.py.
Should read `unnecessary` rather than `unecessary`.
2020-12-31 18:11:41 +11:00
rocky
5c16c73a6c
Fix annotation transform for 3.7+
...
We were producing:
```
z: z: int = 5 on bytecode_3.7_run/02_var_annotate.pyc
```
because grammar went
5. sstmt
ann_assign (4) transformed by n_stmts: ('%|%[2]{attr}: %c\n', 0)
0. ann_assign_init (3): ('%|%[2]{attr}: %c = %c\n', 0, 1)
The "ann_assign" added "z:". Instead we have now:
```
5. sstmt
ann_assign_init (3) transformed by n_stmts: ('%|%[2]{attr}: %c = %c\n', 0, 1)
```
Also, in the previous statement which appears in the listing (but is not
actually in the finaly tree) we had:
4. sstmt
assign (2): ('%|%c = %p\n', -1, (0, 200))
0. expr
L. L. 7 26 LOAD_CONST 5
1. store
So we now preface the node type with "deleted", e.g.:
4. deleted sstmt
assign (2): ('%|%c = %p\n', -1, (0, 200))
0. expr
L. L. 7 26 LOAD_CONST 5
1. store
to reduce confusion
2020-12-27 22:50:46 -05:00
R. Bernstein
3f665b939d
Merge pull request #339 from bloerwald/parsers-fix_expr32_emitted_when_used_by_expr1024
...
parsers: parse2: fix: also emit expr32 if count perfectly divisible by 1024
2020-12-27 20:46:10 -05:00
Bernd Lörwald
f2f49104ea
parsers: parse2: fix: also emit expr32 if count perfectly divisible by 1024
...
expr1024 requires expr32, but a build_count of 1024 would emit only the
expr1024 rule and rely on luck of it being emitted somewhere else.
Emit expr32 rule either if there is a expr32 use or a expr1024 use to avoid.
2020-12-28 01:42:42 +01:00
R. Bernstein
c2ee564e11
Update README.rst
2020-11-20 08:52:55 -05:00
rocky
f95db091bc
Merge branch 'master' of github.com:rocky/python-uncompyle6
2020-11-03 18:09:40 -05:00
rocky
78dbc8ae0f
Adjust ann_assign_init rule...
...
We've reduced spurious `sstmt` reductions. The `ann_assign_init` rule needs
to adjust accordingly.
2020-11-03 18:07:42 -05:00
rocky
70b7e51df6
VERSION -> version
2020-10-31 11:25:06 -04:00
rocky
1164cd90dc
Merge branch 'master' of github.com:rocky/python-uncompyle6
2020-09-10 17:19:36 -04:00
rocky
4bbdbe3894
Remove bogus async_with rule
2020-09-10 17:19:13 -04:00
rocky
28855767fb
Get ready for release 3.7.4
2020-09-05 06:06:40 -04:00
rocky
8eb4d6a576
Fix bit rot in fragments.py
...
build_ast() added a code argument
n_dict(): was out of sync with corresponding pysource routine
pysource.py: small doc typo
2020-09-04 19:30:48 -04:00
rocky
b4db22d525
Narrow precedence for call statement
2020-09-03 04:35:59 -04:00
rocky
8879708da7
del_stmt -> delete to match Python AST better
2020-09-02 07:14:56 -04:00
rocky
67c45467c3
little sync with decompyle3
...
Add another forelsestmt (found only in a loop)
Add precidence on walrus operator
2020-09-01 17:10:33 -04:00
rocky
33bff4dc47
Small int thing and sync with decompyle3
2020-09-01 16:18:10 -04:00
rocky
71c17c4e53
Fragment api changed...
...
sync with pysource.
Simplify pysource a little
2020-08-23 19:27:52 -04:00
rocky
a5cfd81805
Include 3.8 excludes from decompyle3
2020-07-28 07:59:39 -04:00
rocky
64f19bf188
Use newest versions for 3.6-3.8
2020-07-26 10:53:17 -04:00