Commit Graph

150 Commits

Author SHA1 Message Date
Michael Hansen
cfbc806955 Save the output of 'make test' for later inspection 2012-06-11 18:10:47 -07:00
Michael Hansen
1faffc4a2e Merge pull request #21 from kunalparmar/decorators
Handle decorators correctly.
2012-06-11 18:07:33 -07:00
Michael Hansen
4af1884177 Merge pull request #19 from kunalparmar/with-statement
Support for with statement.
2012-06-11 18:04:47 -07:00
Michael Hansen
c483fb9c77 Merge pull request #22 from kunalparmar/import-as
Handle import as correctly.
2012-06-11 17:50:46 -07:00
Kunal Parmar
2cc5e52201 Handle import as correctly. 2012-06-10 02:57:28 -07:00
Kunal Parmar
0fd7bccf52 Handle decorators correctly. 2012-06-10 00:42:05 -07:00
Kunal Parmar
d7a15472c7 Only test decompiling pyc files. 2012-06-09 16:57:10 -07:00
Kunal Parmar
0f012b62d3 Pop a with block on a WITH_CLEANUP. 2012-06-09 16:45:37 -07:00
Kunal Parmar
c38193faa8 Fix for try..else..finally blocks.
* with blocks having a nested if..else do not work anymore.
2012-06-06 23:00:03 -07:00
Michael Hansen
5ef70d151e Only decompyle .pyc files in the tests directory 2012-06-06 22:53:56 -07:00
Kunal Parmar
cc9bdfa085 Support for with statement. 2012-06-06 22:02:33 -07:00
Kunal Parmar
6a1eba1622 Add support for STORE_MAP. 2012-06-02 02:38:59 -07:00
Michael Hansen
f0d14cd8fd Add Python33 files to VS solution 2012-05-26 21:37:53 -07:00
Michael Hansen
237a0788aa Make version comparisons human readable 2012-05-26 14:10:12 -07:00
Michael Hansen
50657fb984 Preview of Python 3.3 support 2012-05-26 14:09:52 -07:00
Michael Hansen
3fb340ccd8 Further cleanup and proper sorting of generated bytecode map files 2012-05-26 13:10:46 -07:00
Michael Hansen
732bb2295c Clean up the makefile a bit, and fix `make test' to properly use bash. 2012-05-26 12:07:45 -07:00
Michael Hansen
285bba5444 Fix comp_map.py to work with ancient versions of Python. Closes #16 2012-05-23 18:49:13 -07:00
Michael Hansen
2eb61bd017 Print out globals if they're used in a del statement too 2011-10-25 21:40:05 -07:00
Michael Hansen
b99f0acfb3 Fix a couple of string output issues 2011-10-23 19:37:06 -07:00
Michael Hansen
f030a77767 Allow for output file override 2011-10-23 19:04:06 -07:00
Michael Hansen
c474d368a1 Use less conflicting filenames 2011-10-23 17:48:10 -07:00
Michael Hansen
99662d8119 Slight cleanup... Also avoids an unintended list copy 2011-10-23 00:21:17 -07:00
Darryl Pogue
15d4d0fe6f Fix for some deeply nested except blocks. 2011-10-22 22:47:09 -07:00
Darryl Pogue
5134341972 Improved lambda output. 2011-10-22 14:06:14 -07:00
Darryl Pogue
735788c54f Fix for if 1 in 2.3.
I remain ever so midly concerned that this shouldn't exist at all.
2011-10-22 01:33:18 -07:00
Darryl Pogue
1975139843 Fix a weird try block case. 2011-10-22 00:42:22 -07:00
Darryl Pogue
f795613445 Support for closure functions. 2011-10-16 22:46:17 -07:00
Darryl Pogue
03b96592a2 Fix for exiting for loops. 2011-10-16 21:22:08 -07:00
Darryl Pogue
0a54f1a91d Fix some tuple assignment issues. 2011-10-16 21:21:48 -07:00
Darryl Pogue
e61d99fc87 Fix almost the entire python22 stdlib. 2011-10-16 18:55:34 -07:00
Darryl Pogue
5e36a3bd4b Various fixes including for/else blocks. 2011-10-16 18:17:48 -07:00
Darryl Pogue
1d480555f7 Initial attempt to deal with lambdas.
It's not entirely successful, but it's a step in the right direction.
2011-10-10 21:58:19 -07:00
Darryl Pogue
d60b4fbdab More block closing fixes. 2011-10-10 21:51:29 -07:00
Darryl Pogue
cce5f3cf34 Fix for pickle.pyc from Python 2.2.
This feels like the hackiest fix EVER.
2011-10-10 21:22:02 -07:00
Darryl Pogue
787650cb2e Fix for raising exceptions skipping opcodes. 2011-10-10 19:49:33 -07:00
Darryl Pogue
2ed124ab59 Fix a stack history leak with complex while loops. 2011-10-10 19:09:31 -07:00
Darryl Pogue
e2cf440736 List comprehension support. 2011-10-10 15:57:20 -07:00
Darryl Pogue
f0d47dc959 Fix for lingering try blocks. 2011-10-10 01:41:57 -07:00
Darryl Pogue
4c4a24173f Fix a block bug with deeply nested continues. 2011-10-10 01:06:18 -07:00
Michael Hansen
c6d98d6e40 Preserve Dox's 80 columns while using boolean ops instead of binary ops 2011-10-10 00:15:25 -07:00
Darryl Pogue
0c1d04fc8f Declare globals used in a function. Fixes #8. 2011-10-09 23:42:34 -07:00
Darryl Pogue
7701f221e8 Function varargs and keywordargs. 2011-10-09 22:38:18 -07:00
Darryl Pogue
e372deb43b Fix while loops with complex conditionals. 2011-10-09 21:42:18 -07:00
Darryl Pogue
ea0ebf8b96 Fix and/or combiners for if statements. 2011-10-09 15:43:24 -07:00
Darryl Pogue
84b9471043 Fix for combining if statements.
Although the combination operator is probably broken...
2011-10-09 15:43:24 -07:00
Darryl Pogue
2df831176e Fixes for obscure loop conditions. 2011-10-09 15:43:24 -07:00
Michael Hansen
29edae5685 Properly check range when chars are signed 2011-10-02 19:51:54 -07:00
Michael Hansen
1f34a6fa2b Update .gitignore a bit 2011-10-02 19:47:18 -07:00
Darryl Pogue
725a2f9a02 Test cases for try/except/finally stuff. 2011-10-02 19:01:07 -07:00