rocky
504164fcea
Merge branch 'master' into python-2.4
2019-06-12 13:08:30 -04:00
rocky
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
f36c11d9d7
Merge branch 'master' into python-2.4
2019-04-14 06:13:25 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -04:00
rocky
a54a558a44
Merge branch 'master' into python-2.4
2018-12-10 06:40:41 -05:00
rocky
f5448b371c
More complete fragment parsing for imports
2018-12-10 06:40:14 -05:00
rocky
908dea4a23
Merge branch 'master' into python-2.4
2018-07-15 12:40:27 -04:00
rocky
19ec52eb63
Change AST to SyntaxTree in many places
2018-07-15 12:37:50 -04:00
rocky
761eee7ae7
Merge branch 'master' into python-2.4
2018-05-19 12:36:34 -04:00
rocky
189605ea2c
Adjust showtree() calls
2018-05-13 14:23:52 -04:00
rocky
61466808f5
Merge branch 'master' into python-2.4
2018-05-08 09:18:32 -04:00
rocky
e76f1f107f
Better testing of named %c format specifiers
2018-05-08 08:49:43 -04:00
rocky
ee3f2446f9
Merge branch 'master' into python-2.4
2018-04-16 13:10:16 -04:00
rocky
9ef38285f4
Fix bug in fragment parser
2018-04-14 06:54:15 -04:00
rocky
5de8a33286
codeNode->code_node
2018-04-13 15:44:41 -04:00
rocky
c81b40b43b
Comment out test/demo code
2018-03-21 20:00:25 -04:00
rocky
ef03d78c4d
Merge branch 'master' into python-2.4
2018-03-21 19:57:59 -04:00
rocky
d41a858f80
Messed up API compatibility
2018-03-21 17:38:38 -04:00
rocky
85a49aec2f
Work on fragments API...
...
* Add code_deparse_around_offset
* find_globals -> find_globals_and_nonlocals
2018-03-20 13:43:16 -04:00
rocky
1da2118e13
Merge branch 'master' into python-2.4
2018-03-05 12:26:45 -05:00
rocky
61534ceed5
Need to back off set_comp change a little...
...
There was set_comp already. So what had been setcomp_func is now
merely set_comp_func rather than set_comp. Small improvement but
in the right direction, still
2018-03-05 11:41:21 -05:00
rocky
9f66694056
dictcomp_func -> dict_comp_func...
...
to match AST better. Also adds a correction in last commit,
including set_comp -> set_comp_expr where apprpriate
Note: can't use dict_comp as that was already used.
But dict_comp_func is matches AST better than dictcomp_func
2018-03-05 11:12:15 -05:00
rocky
2bdfd76635
setcomp_func -> set_comp ...
...
to match AST name more closely
2018-03-05 10:20:14 -05:00
rocky
ab257dc7ce
Merge branch 'master' into python-2.4
2018-02-27 17:49:22 -05:00
rocky
b6d96929cb
Start simplifying higher-level API
2018-02-27 17:48:26 -05:00
rocky
68692abaf6
Start changing API to make version optional...
...
and use debug option dictionary
2018-02-27 11:42:29 -05:00
rocky
a1532bbfea
Merge branch 'master' into python-2.4
2018-02-27 10:40:40 -05:00
Yiming Wang
3545c7dc6f
Keep global statements in fixed order
2018-02-24 22:22:50 +08:00
rocky
fee6114d74
Merge branch 'master' into python-2.4
2018-02-22 19:15:24 -05:00
rocky
a2b6ebc669
grammar tree -> parse tree
2018-02-22 14:34:42 -05:00
rocky
09efb24a3e
Start distinguishing AST from grammar tree
2018-02-22 11:17:09 -05:00
rocky
9d425039a2
Merge branch 'master' into python-2.4
2018-02-17 11:28:45 -05:00
rocky
fa4f614295
Wierd comprehension bug seen via new loctraceback
2018-02-15 12:15:49 -05:00
rocky
832f04a486
Merge branch 'master' into python-2.4
2018-02-15 10:47:14 -05:00
rocky
083ae5f3fd
Add deparsed_find() used by the trepan debuggers
2018-02-15 10:42:00 -05:00
rocky
b74662cf3d
Merge branch 'master' into python-2.4
2018-02-05 06:27:33 -05:00
rocky
ca2c06ca87
Small cleanups
2018-02-03 11:43:00 -05:00
rocky
be03b22d32
Clean up fragments code for "for"...
...
And make a little more precise.
tag "store" part of "for" in consts.
2018-02-03 11:12:12 -05:00
rocky
9dfd495bfa
Small changes
2018-02-01 17:46:07 -05:00
rocky
576ab98319
List comprehension fragment bugs in 3.4
2018-02-01 09:08:46 -05:00
rocky
555a1235b2
Add fragment rules for RAISE_VARARGS and ...
...
Fix a fragment offset-sorting bug
2018-02-01 00:43:46 -05:00
rocky
75755c8cfc
Merge branch 'master' into python-2.4
2018-01-31 16:46:04 -05:00
rocky
a753e2c08f
fragments gen_ast more like pysource gen_ast
...
Skip deparse test for now
2018-01-30 10:28:32 -05:00
rocky
0a12dfb422
Add uncompyle6 option to show fragments
2018-01-29 21:14:34 -05:00
rocky
eb7484c671
Merge branch 'master' into python-2.4
2018-01-27 11:47:57 -05:00
rocky
835124eba2
DRY fragments by using OO more effectively
...
Split grammar customization to its own file. It's quite large now.
2018-01-27 11:02:42 -05:00
rocky
0d32ec028c
Add deparse_code_with_fragments_and_map and simplify
2018-01-24 04:23:14 -05:00
rocky
c7dda72a84
Merge branch 'master' into python-2.4
2017-12-14 17:58:03 -05:00
rocky
acdefb4f70
NT return_stmt -> return to match AST
2017-12-14 11:03:15 -05:00
rocky
e47568e147
Merge branch 'master' into python-2.4
2017-12-14 08:40:43 -05:00