rocky
|
eafb32b9a0
|
NT trystmt -> try_except to match AST
|
2017-12-02 22:20:45 -05:00 |
|
rocky
|
e172a8f3c0
|
Fix docstring bug..
small sync with python 2.4 branch
|
2017-12-02 21:11:19 -05:00 |
|
rocky
|
5ae32de709
|
Add global statements even for read of globals
|
2017-12-02 19:13:11 -05:00 |
|
rocky
|
8e2f78ceba
|
Add Python 2.4 importmultiple rule
|
2017-12-02 14:19:32 -05:00 |
|
rocky
|
03a5ad3d94
|
NT funcdef -> function_def to match AST
|
2017-12-01 21:36:23 -05:00 |
|
rocky
|
dd0fe36af0
|
NT importfrom -> import_from ...
to match AST better
and importstar -> import_from_star
misc administrivia
|
2017-12-01 04:33:04 -05:00 |
|
rocky
|
dfdd5c6c1c
|
NT build_list -> list to match AST
|
2017-12-01 03:55:31 -05:00 |
|
rocky
|
01b5ed2304
|
NT mapexpr -> dict to match AST
|
2017-11-30 15:59:15 -05:00 |
|
rocky
|
ac4d4d1da9
|
NT dictcomp -> dict_comp to match AST
|
2017-11-30 08:50:00 -05:00 |
|
rocky
|
0b284f8230
|
NT setcomp -> set_comp to match AST
|
2017-11-30 07:14:29 -05:00 |
|
rocky
|
fcdea73b4f
|
list_compr -> list_comp to match AST...
more Python 3 custom rule cleanup
|
2017-11-29 21:26:31 -05:00 |
|
rocky
|
7775bdabd5
|
import_as -> alias; and reinstate rule
|
2017-11-29 10:38:18 -05:00 |
|
rocky
|
f2eaa09e96
|
Fix import and 3.x class bugs...
import x.y as z was failing across all Python versions
class decorators for Python 3.0..3.3 was failing
reduce 3.x while grammar rules
|
2017-11-29 06:59:05 -05:00 |
|
rocky
|
43c3154a55
|
NT designatore -> store to match AST
|
2017-11-29 05:05:15 -05:00 |
|
rocky
|
c81b4df8b7
|
NT binary_subscr -> subscript to match AST
|
2017-11-29 00:08:08 -05:00 |
|
rocky
|
fb695616a6
|
NT call_function -> call to match AST
|
2017-11-28 22:13:23 -05:00 |
|
rocky
|
071207ce48
|
NT genexpr -> generate_exp to match AST
|
2017-11-28 17:53:33 -05:00 |
|
rocky
|
4b4fce01f6
|
Add UNARY convert; improve 2.1 imports
|
2017-11-27 21:38:09 -05:00 |
|
rocky
|
dd329f9c03
|
Isolate build_set from build_list in Python 2...
More work is needed. Not done in Python 3 yet
|
2017-11-26 09:15:35 -05:00 |
|
rocky
|
566ef37ecc
|
back off of build_slice{2,3} ->slice{2,3}
There is another slice rule that interferes with this.
|
2017-11-25 21:49:03 -05:00 |
|
rocky
|
b7003914c9
|
localize 2 and 3 argument BUILD_SLICE...
Nontermninal name matches AST anme now. Add test.
|
2017-11-25 21:10:11 -05:00 |
|
rocky
|
af38064a1b
|
remove unpack_list rule and ...
tidy things a bit more
|
2017-11-25 00:32:13 -05:00 |
|
rocky
|
c9f3838d04
|
Fix bug in 2.x with decorator of old-style class
|
2017-11-24 21:16:59 -05:00 |
|
rocky
|
f34c558d38
|
Handle inf, +inf, -nan, and nan constants
|
2017-11-24 15:30:05 -05:00 |
|
rocky
|
37b8e21c76
|
A couple more bugs found running 2.7 stdlib tests
|
2017-11-24 10:22:58 -05:00 |
|
rocky
|
f7ff4c2d41
|
Grammar cleanup: import_as_cont -> import_as
|
2017-11-18 10:26:57 -05:00 |
|
rocky
|
63a43d0c93
|
Profiling workarounds, more coverage ...
test/Makefile: more grammar checking. Update python versions
10_del.pyc add test of DEL_GLOBAL
check_ast.py, pysource.py: Profileing workarounds
|
2017-11-15 03:16:54 -05:00 |
|
rocky
|
69847dbeec
|
detected old-style Python 2.4 class better
|
2017-11-13 10:57:50 -05:00 |
|
rocky
|
74731a9d42
|
Fix bug in return-optimized try stmt
|
2017-11-09 11:01:29 -05:00 |
|
rocky
|
4f0a668b7c
|
Add flag to tolerate deparse errors...
and keep going. The fragment parser should ignore errors
in nested function definitions
|
2017-11-04 12:29:27 -04:00 |
|
rocky
|
9dd881fae1
|
Start allowing node names in template engine
These are now used to assert we have the right node type.
Simplify import_from
|
2017-10-13 11:16:58 -04:00 |
|
rocky
|
2fc3886693
|
Small changes
|
2017-10-13 07:52:56 -04:00 |
|
rocky
|
9cfd7d669e
|
Get ready for release 2.13.0
|
2017-10-10 22:08:10 -04:00 |
|
rocky
|
1392b18bd7
|
Adjust for spark-parser 2.7.0 incompatabilities
|
2017-10-10 14:14:26 -04:00 |
|
rocky
|
85d68a7926
|
Merge branch 'master' of github.com:rocky/python-uncompyle6
|
2017-10-05 11:03:59 -04:00 |
|
rocky
|
b3359439f9
|
if bug in lambda with ifelse
A synergy of Python's irregular lambda, its custom ifelse syntax and its
marvelous indentation regime. Fixes #130
|
2017-10-05 11:00:55 -04:00 |
|
rocky
|
c17ac696d6
|
Remove schumutz
|
2017-10-03 11:39:26 -04:00 |
|
rocky
|
9e2119f1a9
|
More table doc tweaks
|
2017-10-03 11:36:25 -04:00 |
|
rocky
|
86305097d2
|
Go over table-semantics description yet again
|
2017-10-03 05:42:14 -04:00 |
|
rocky
|
aadea7224d
|
Unit test for format-specifiers
And in the process we catch some small bugs
|
2017-09-21 11:25:51 -04:00 |
|
rocky
|
da7421da1c
|
Tidy pysource and fragments a little more
|
2017-09-20 19:02:56 -04:00 |
|
rocky
|
147b6e1cfe
|
Small fixes
test_pyenvlib.py: it is sys.exit(), not exit()
pysource.py: reinstate nod type of async_func_call
|
2017-09-20 11:32:42 -04:00 |
|
rocky
|
d7b12f4da1
|
More small doc changes
|
2017-09-20 02:49:14 -04:00 |
|
rocky
|
c7b9e54e59
|
Update Table-driven info...
Start a pysource unit test.
|
2017-09-20 00:06:50 -04:00 |
|
rocky
|
3003070acb
|
engine -> template_engine
|
2017-09-17 11:56:51 -04:00 |
|
rocky
|
f017acce21
|
More semantic action cleanup
|
2017-09-10 02:56:47 -04:00 |
|
rocky
|
9c072a6a42
|
3.x funciton and annotation bug fixes
|
2017-06-25 18:46:03 -04:00 |
|
rocky
|
af3d46b35c
|
Use xdis' instruction offset calculation fns..
next_offset, op_size, has_argument
|
2017-06-24 06:43:04 -04:00 |
|
rocky
|
e1bc0c5cd6
|
Python 2 sometimes need str->uncode in writing?
|
2017-06-19 08:02:59 -04:00 |
|
rocky
|
5a519ed36a
|
Allow deparsed out to be str as well as unicode
|
2017-06-19 07:55:09 -04:00 |
|