forked from rocky/python-uncompyle6
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangeLog
More file actions
2084 lines (1570 loc) · 77.6 KB
/
Copy pathChangeLog
File metadata and controls
2084 lines (1570 loc) · 77.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2016-05-05 rocky <rocky@gnu.org>
* uncompyle6/version.py: Get ready for release 2.3.4
2016-05-05 rocky <rocky@gnu.org>
* .travis.yml: Remove pypy3 add python 3.2 testing Reorder list for testing preference
2016-05-05 rocky <rocky@gnu.org>
* .travis.yml: Remove pypy
2016-05-05 rocky <rocky@gnu.org>
* Makefile, test/Makefile, uncompyle6/semantics/pysource.py: Fix up
3.2 tests Remove pypy
2016-05-05 rocky <rocky@gnu.org>
* .travis.yml: Try pypy and pypy3
2016-05-05 rocky <rocky@gnu.org>
* test/simple_source/def/05_abc_class.py,
test/simple_source/def/06_classbug.py, uncompyle6/parsers/parse3.py:
Python 3.5 abc.py bug distilled
2016-05-05 rocky <rocky@gnu.org>
* uncompyle6/scanners/dis35.py, uncompyle6/scanners/scanner35.py:
Add cross-Python-protable 3.5 dis module
2016-05-04 rocky <rocky@gnu.org>
* test/simple_source/stmts/05_with.py,
uncompyle6/opcodes/opcode_35.py, uncompyle6/parser.py,
uncompyle6/parsers/parse3.py, uncompyle6/scanners/scanner35.py:
Handle 3.5 with [as] scanner35.py: Fix a small variable-name typo
2016-05-03 rocky <rocky@gnu.org>
* : One more test
2016-05-03 rocky <rocky@gnu.org>
* uncompyle6/scanners/scanner3.py,
uncompyle6/scanners/scanner34.py, uncompyle6/scanners/scanner35.py:
Don't repeat next_except_jump
2016-05-03 rocky <rb@dustyfeet.com>
* __pkginfo__.py, requirements.txt: Wrong package name
2016-05-03 rocky <rocky@gnu.org>
* __pkginfo__.py, requirements.txt, setup.py: More package
administrivia
2016-05-03 rocky <rocky@gnu.org>
* uncompyle6/scanner.py: Remove one more old-style Python class
2016-05-03 rocky <rocky@gnu.org>
* uncompyle6/scanners/scanner27.py: DRY Python 2.7 scanner more
2016-05-03 rocky <rocky@gnu.org>
* MANIFEST.in: Include LICENSE in package
2016-05-03 rocky <rocky@gnu.org>
* ChangeLog, NEWS, uncompyle6/version.py: Get ready for release
2.3.3
2016-05-02 rocky <rocky@gnu.org>
* README.rst: Be more explicit that we need Python 2.6 or later
2016-05-02 rocky <rocky@gnu.org>
* : commit feec241da88107b97bbdfbabeb3ae7131a7aa923 Author: rocky
<rocky@gnu.org> Date: Mon May 2 21:20:17 2016 -0400
2016-05-02 rocky <rb@dustyfeet.com>
* README.rst: Note relation to other uncompyle forks Add some other minor corrections and additions as well.
2016-05-02 rocky <rb@dustyfeet.com>
* uncompyle6/__init__.py: Trivial spacing change
2016-05-02 rocky <rocky@gnu.org>
* ChangeLog, NEWS, __pkginfo__.py, bin/pydisassemble,
bin/uncompyle6, setup.py, uncompyle6/__init__.py,
uncompyle6/version.py: Add -V | --version and simplfy changing it
2016-05-01 rocky <rocky@gnu.org>
* uncompyle6/__init__.py: Expose uncompyle_file
2016-05-01 rocky <rocky@gnu.org>
* test/Makefile, uncompyle6/semantics/pysource.py: Bug
2016-05-01 rocky <rocky@gnu.org>
* test/Makefile, test/simple_source/expression/05_const_map.py: Add
test for last fix. Drop 2.5 test until we figure out what's wrong
2016-05-01 rocky <rocky@gnu.org>
* uncompyle6/parsers/parse3.py, uncompyle6/scanners/scanner35.py,
uncompyle6/semantics/pysource.py: Bug in 3.5 constant map parsing
2016-05-01 rocky <rocky@gnu.org>
* uncompyle6/__init__.py: Export module load and fns load_file,
load_module
2016-05-01 rocky <rocky@gnu.org>
* __pkginfo__.py, setup.py, uncompyle6/marsh.py: License is MIT marsh.py: remove unused import
2016-05-01 rocky <rocky@gnu.org>
* uncompyle6/parsers/parse3.py: Forgot to define Python3ParserSingle
2016-05-01 rocky <rocky@gnu.org>
* uncompyle6/parser.py, uncompyle6/parsers/parse2.py,
uncompyle6/parsers/parse3.py: Start to DRY Python2 and Python3
grammars Separate out 3.2, and 3.5+ specific grammar code
2016-04-30 rocky <rocky@gnu.org>
* ChangeLog, NEWS, README.rst, __pkginfo__.py: Get ready for release
2.3.1
2016-04-30 rocky <rocky@gnu.org>
* uncompyle6/parsers/astnode.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/pysource.py: Python 3.0..3.2 bug in
LOAD_FAST/STORE_LOCAL LOAD_FAST '__locals__' STORE_LOCALS '' Also have to adjust doc constants for this crap astnode.py: minor format change
2016-04-30 rocky <rocky@gnu.org>
* test/Makefile, test/simple_source/def/06_classbug.py,
test/test_pythonlib.py: Test optimized Python code and Python 3.2
2016-04-30 rocky <rocky@gnu.org>
* uncompyle6/parsers/parse3.py: Pevious commit grammar change is
Python 3.5 and up
2016-04-30 rocky <rocky@gnu.org>
* uncompyle6/parsers/parse3.py: Python 3.5 if statments decompyle Sometimes it doesn't need JUMP_FORWARD _come_from _come_from For example: def handle2(module): if module == 'foo': try: module = 1 except ImportError as exc: module = exc return module And: if __name__: for i in (1, 2): x = 3
2016-04-28 rocky <rocky@gnu.org>
* requirements.txt, uncompyle6/parser.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
spark -> spark_parser
2016-04-28 rocky <rocky@gnu.org>
* uncompyle6/parsers/spark.py: Really remove spark - Use external
package instead
2016-04-27 R. Bernstein <rocky@users.noreply.github.com>
* : Merge pull request #8 from rocky/external-spark External spark
2016-04-27 rocky <rocky@gnu.org>
* .travis.yml, circle.yml: Note dependencies on spark
2016-04-27 rocky <rocky@gnu.org>
* .gitignore, README.rst, requirements.txt, uncompyle6/parser.py,
uncompyle6/parsers/astnode.py, uncompyle6/parsers/parse2.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Use external spark now.
2016-04-20 rocky <rocky@gnu.org>
* circle.yml: Back to 2.7.8
2016-04-20 rocky <rocky@gnu.org>
* circle.yml: Try python 2.7.10
2016-04-19 rocky <rocky@gnu.org>
* README.rst: Remove link to Mysterie uncompyle2 per request
2016-04-19 rocky <rocky@gnu.org>
* ChangeLog, NEWS, __pkginfo__.py: Get ready for release 2.2.0
2016-04-18 rocky <rocky@gnu.org>
* README.rst: Another typo
2016-04-18 R. Bernstein <rocky@users.noreply.github.com>
* : Merge pull request #7 from rocky/single-compile Support single-mode compile
2016-04-18 rocky <rocky@gnu.org>
* README.rst: Doc typo
2016-04-18 Thomas Grainger <tom.grainger@procensus.com>
* __pkginfo__.py, setup.cfg, setup.py: declare Python3 support in
wheel and trove
2016-04-18 rocky <rocky@gnu.org>
* uncompyle6/parser.py, uncompyle6/parsers/parse2.py,
uncompyle6/parsers/parse3.py: Start to DRY Python 2 and Python 3
grammar code Move common code to parser.py
2016-04-18 rocky <rocky@gnu.org>
* pytest/test_single_compile.py, uncompyle6/parser.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py: Add
simgle-mode compilation
2016-04-17 rocky <rocky@gnu.org>
* pytest/test_single_compile.py, uncompyle6/parser.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/pysource.py: Towards single compilation
2016-04-10 rocky <rb@dustyfeet.com>
* : Back off if_else_ternary pending Fails on Python 3.4 investigation Python 3.5 works though
2016-04-10 rocky <rb@dustyfeet.com>
* .gitignore: Test administrivia
2016-04-07 rocky <rb@dustyfeet.com>
* HISTORY.md, README.rst,
test/simple_source/branching/10_if_else_ternary.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py: Handle
Ternary "or". Remove mention of uncompyle3 uncompyle3 removed per Mysterie's request [Fixes Issue #5]
2016-03-11 rocky <rb@dustyfeet.com>
* test/Makefile: remove uncompyle3 and make test work again * uncompyle3 removed by request * make test on python 2.7 is failing on some python3 and python3.5 bytecodes. Remove for now.
2016-02-23 R. Bernstein <rocky@users.noreply.github.com>
* : Merge pull request #3 from lelicopter/master Bug correction (parse cmd options)
2016-01-07 rocky <rb@dustyfeet.com>
* test/Makefile, test/bytecompile-tests, test/test_pythonlib.py: Add
Python 3.5 tests that we can do.
2016-01-05 R. Bernstein <rocky@users.noreply.github.com>
* HISTORY.md: Grammar fixes
2016-01-02 rocky <rb@dustyfeet.com>
* ChangeLog, NEWS, __pkginfo__.py: Get ready for release 2.1.3
2016-01-02 rocky <rb@dustyfeet.com>
* uncompyle6/opcodes/opcode_23.py, uncompyle6/opcodes/opcode_25.py,
uncompyle6/opcodes/opcode_26.py, uncompyle6/opcodes/opcode_27.py,
uncompyle6/opcodes/opcode_32.py, uncompyle6/opcodes/opcode_33.py,
uncompyle6/opcodes/opcode_34.py, uncompyle6/opcodes/opcode_35.py,
uncompyle6/opcodes/opcode_3x.py, uncompyle6/parser.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner32.py,
uncompyle6/scanners/scanner33.py, uncompyle6/scanners/scanner34.py,
uncompyle6/scanners/scanner35.py: Start to DRY opcode code. Limited
support for decopyling Python 3.5
2016-01-02 rocky <rb@dustyfeet.com>
* test/Makefile, test/ok_lib3.4/antigravity.py,
test/ok_lib3.4/bisect.py, test/test_pythonlib.py: Start 3.4 library
verify tests
2016-01-02 rocky <rb@dustyfeet.com>
* README.rst: Regularize spelling of bytecode
2016-01-02 rocky <rb@dustyfeet.com>
* Makefile, README.rst: Add download shield. Add check-rst target
2016-01-02 R. Bernstein <rocky@users.noreply.github.com>
* README.rst: Update README.rst
2016-01-02 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py: Track recent source class
semantic actions in fragment actions
2016-01-02 rocky <rb@dustyfeet.com>
* uncompyle6/scanner.py, uncompyle6/scanners/scanner25.py,
uncompyle6/scanners/scanner26.py, uncompyle6/scanners/scanner27.py:
Make ScannerXX() initialization the same on Python 2.x and 3.x
2016-01-02 rocky <rb@dustyfeet.com>
* test/Makefile,
test/simple_source/comprehension/05_list_comprehension.py,
test/simple_source/def/02_closure.py, test/test_pythonlib.py,
uncompyle6/main.py, uncompyle6/verify.py: Verify 3.4 bytecode.
verify API call bug fixed.
2016-01-02 rocky <rb@dustyfeet.com>
* test/simple_source/def/05_class.py, uncompyle6/load.py,
uncompyle6/main.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/pysource.py: Python 3 class deparsing. stop
earlier in uncompyle6 on a syntax error.
2016-01-01 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Fix make_closure compilation from
2.x of 3.3 bytecode
2016-01-01 rocky <rb@dustyfeet.com>
* test/simple_source/def/02_closure.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py: Work
on MAKE_CLOSURE rules for Python 3.3
2015-12-31 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py: track source deparsing
superclass bug fix
2015-12-31 rocky <rb@dustyfeet.com>
* ChangeLog, NEWS, __pkginfo__.py: Get ready for release 2.1.2
2015-12-31 rocky <rb@dustyfeet.com>
* test/base_tests/compile_tests,
test/base_tests/python2.7/test_applyEquiv.py,
test/base_tests/python2.7/test_augmentedAssign.py,
test/base_tests/python2.7/test_class.py,
test/base_tests/python2.7/test_del.py,
test/base_tests/python2.7/test_divide_future.py,
test/base_tests/python2.7/test_divide_no_future.py,
test/base_tests/python2.7/test_docstring.py,
test/base_tests/python2.7/test_empty.py,
test/base_tests/python2.7/test_exceptions.py,
test/base_tests/python2.7/test_exec.py,
test/base_tests/python2.7/test_expressions.py,
test/base_tests/python2.7/test_extendedImport.py,
test/base_tests/python2.7/test_extendedPrint.py,
test/base_tests/python2.7/test_extendedarg.py-notyet,
test/base_tests/python2.7/test_functions.py,
test/base_tests/python2.7/test_global.py,
test/base_tests/python2.7/test_globals.py,
test/base_tests/python2.7/test_import.py,
test/base_tests/python2.7/test_import_as.py,
test/base_tests/python2.7/test_integers.py,
test/base_tests/python2.7/test_iterators.py,
test/base_tests/python2.7/test_lambda.py,
test/base_tests/python2.7/test_listComprehensions.py,
test/base_tests/python2.7/test_loops.py,
test/base_tests/python2.7/test_loops2.py,
test/base_tests/python2.7/test_mine.py,
test/base_tests/python2.7/test_misc.py,
test/base_tests/python2.7/test_nested_elif.py,
test/base_tests/python2.7/test_nested_scopes.py,
test/base_tests/python2.7/test_prettyprint.py,
test/base_tests/python2.7/test_print.py,
test/base_tests/python2.7/test_print_to.py,
test/base_tests/python2.7/test_single_stmt.py,
test/base_tests/python2.7/test_slices.py,
test/base_tests/python2.7/test_tuple_params.py-notyet,
test/base_tests/python2.7/test_tuples.py-notyet,
test/base_tests/python2.7/test_yield.py,
test/base_tests/python3.4/__init__.py: Remove tests we will never
use
2015-12-31 rocky <rb@dustyfeet.com>
* .travis.yml, Makefile: Try travis testing on Python 3.5. Fix up
Makefile to avoid pytest on 3.5 for now
2015-12-31 rocky <rb@dustyfeet.com>
* test/ok_lib2.7/dircache.py, test/ok_lib2.7/dis.py: Add a few tests
from Python 2.7 standard library
2015-12-31 rocky <rb@dustyfeet.com>
* test/simple_source/def/05_class.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
Handle Python 3.3 > dotted class names
2015-12-30 rocky <rb@dustyfeet.com>
* README.rst: Note Python 3.5
2015-12-30 rocky <rb@dustyfeet.com>
* Makefile, test/Makefile, uncompyle6/__init__.py,
uncompyle6/disas.py, uncompyle6/load.py, uncompyle6/magics.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner3.py: Allow Python
3.5 to decomplyle other versions. No Python 3.5 bytecode support
just yet though.
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parser.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Show details on parsing assert
failures.
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
Remove accidental schmutz. Try using pattr on 3.4 to get fn names
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Parses another variation of Python3
try/except. Reinstate some tests
2015-12-30 rocky <rb@dustyfeet.com>
* : Reinstate list comprehension test. I think we've found/fixed the
initialization bug.
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/code.py, uncompyle6/disas.py, uncompyle6/main.py,
uncompyle6/marsh.py, uncompyle6/scanners/scanner27.py,
uncompyle6/scanners/scanner3.py, uncompyle6/scanners/scanner34.py,
uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py, uncompyle6/verify.py: Start using
our replacement for inspect.iscode
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/spark.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Doc changes.
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/spark.py: document GenericASTTraversal.preorder
and default.
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/main.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Walker->SourceWalker
Traverser->FragmentsWalker
2015-12-30 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py: Tidy parse3 grammer a little
2015-12-30 rocky <rb@dustyfeet.com>
* test/simple_source/exception/25_try_except.py,
test/test_pythonlib.py, uncompyle6/parsers/parse3.py,
uncompyle6/scanners/scanner27.py, uncompyle6/scanners/scanner3.py,
uncompyle6/scanners/scanner34.py, uncompyle6/semantics/pysource.py:
Towards Python3 getting try/except working more often.
2015-12-29 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Fix another cross-version bug:
eliminate version-specific library 'dis' and use corresponding
version-indepent routine instead.
2015-12-29 rocky <rb@dustyfeet.com>
* test/Makefile, uncompyle6/marsh.py: Fix Python 2 cross deparsing
pythond bytecode tuples co_consts, co_names, co_varnames. Reinstate
cross Python 2-3 uncompiling
2015-12-29 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner34.py: Syntax error typo
2015-12-29 rocky <rb@dustyfeet.com>
* uncompyle6/marsh.py: Make sure internObjects is (re)initialized
2015-12-29 rocky <rb@dustyfeet.com>
* uncompyle6/parser.py, uncompyle6/scanners/scanner34.py,
uncompyle6/verify.py: inspect.iscode -> hasattr for now until we
write a cross-version iscode
2015-12-29 rocky <rb@dustyfeet.com>
* README.rst, test/Makefile, uncompyle6/opcodes/opcode_32.py,
uncompyle6/opcodes/opcode_33.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/scanners/scanner3.py, uncompyle6/scanners/scanner32.py:
scanner3: Python 2.6 compatibility: change set initializations. Get
rid of * import opcode_*: only a little of the much-needed larger
cleanup Makefile: remove 3.x bytecode checking from Python 2.x for
now. DRY Makefile a little bit (but more is needed)
2015-12-28 rocky <rb@dustyfeet.com>
* uncompyle6/scanners/scanner3.py: Python 2.6.9 compatibility
2015-12-28 rocky <rb@dustyfeet.com>
* uncompyle6/main.py, uncompyle6/marsh.py: Marshal loading of =
>python 3.4 from Python < 3.4
2015-12-28 rocky <rb@dustyfeet.com>
* uncompyle6/disas.py, uncompyle6/load.py, uncompyle6/main.py,
uncompyle6/marsh.py, uncompyle6/scanners/scanner3.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
Add Python3 marshal codes and start to handle cross-version Python
code object types, introducing scan.Code3
2015-12-27 rocky <rb@dustyfeet.com>
* uncompyle6/load.py, uncompyle6/marsh.py: Possibly closer to
getting 2.7 to read 3.4 bytecode
2015-12-27 rocky <rb@dustyfeet.com>
* uncompyle6/load.py, uncompyle6/main.py, uncompyle6/marsh.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner25.py,
uncompyle6/scanners/scanner26.py, uncompyle6/scanners/scanner27.py,
uncompyle6/scanners/scanner3.py, uncompyle6/scanners/scanner32.py,
uncompyle6/scanners/scanner33.py, uncompyle6/scanners/scanner34.py,
uncompyle6/semantics/pysource.py: Fix up Python 2.x's ability to get
code from Python 3.x's bytecode
2015-12-27 rocky <rb@dustyfeet.com>
* test/test_pythonlib.py: defer some tests
2015-12-27 rocky <rb@dustyfeet.com>
* : commit 7c5b8d803c5b76b185ebc8f6e7587fa64ef531e9 Author: rocky
<rb@dustyfeet.com> Date: Sun Dec 27 16:49:37 2015 -0500
2015-12-27 rocky <rb@dustyfeet.com>
* : 3.2 bytecode
2015-12-27 rocky <rb@dustyfeet.com>
* ChangeLog, NEWS, README.rst, __pkginfo__.py: Get ready for release
2.1.1
2015-12-27 rocky <rb@dustyfeet.com>
* ChangeLog, NEWS, README.rst, __pkginfo__.py,
test/bytecompile-tests, uncompyle6/opcodes/Makefile,
uncompyle6/opcodes/opcode_23.py, uncompyle6/opcodes/opcode_24.py,
uncompyle6/opcodes/opcode_25.py, uncompyle6/opcodes/opcode_26.py,
uncompyle6/opcodes/opcode_27.py, uncompyle6/opcodes/opcode_32.py,
uncompyle6/opcodes/opcode_33.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/parser.py, uncompyle6/parsers/parse3.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner25.py,
uncompyle6/scanners/scanner26.py, uncompyle6/scanners/scanner27.py,
uncompyle6/scanners/scanner3.py, uncompyle6/scanners/scanner32.py,
uncompyle6/scanners/scanner33.py, uncompyle6/scanners/scanner34.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
DRY Python3 scanner code. Some cross version handling fixed. Some
Python 3.2 and 3.3 deparse fixes.
2015-12-27 rocky <rb@dustyfeet.com>
* README.rst, test/bytecompile-tests, uncompyle6/opcodes/Makefile,
uncompyle6/opcodes/opcode_23.py, uncompyle6/opcodes/opcode_24.py,
uncompyle6/opcodes/opcode_25.py, uncompyle6/opcodes/opcode_26.py,
uncompyle6/opcodes/opcode_27.py, uncompyle6/opcodes/opcode_32.py,
uncompyle6/opcodes/opcode_33.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/parser.py, uncompyle6/parsers/parse3.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner25.py,
uncompyle6/scanners/scanner26.py, uncompyle6/scanners/scanner27.py,
uncompyle6/scanners/scanner3.py, uncompyle6/scanners/scanner32.py,
uncompyle6/scanners/scanner33.py, uncompyle6/scanners/scanner34.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
DRY Python3 scanner code. Some cross version handling fixed. Some
Python 3.2 and 3.3 deparse fixes.
2015-12-26 rocky <rb@dustyfeet.com>
* .travis.yml, test/Makefile, uncompyle6/verify.py: Running native
on Python 3.3 needs more work
2015-12-26 rocky <rb@dustyfeet.com>
* test/Makefile, test/test_pythonlib.py: Add ok-2.7 tests for 3.4
full testing
2015-12-26 rocky <rb@dustyfeet.com>
* test/Makefile, test/bytecompile-tests, test/test_pythonlib.py: Add
verify tests. Add Python 2.6 bytecode and use.
2015-12-26 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Add node and template code to
cleanup "for" handling
2015-12-26 rocky <rb@dustyfeet.com>
* .travis.yml: Try Python 2.6 testing on travis
2015-12-26 rocky <rb@dustyfeet.com>
* test/Makefile: For testing we can't 3.3 bytecodes on 2.7 yet, so
use 3.2
2015-12-26 rocky <rb@dustyfeet.com>
* .travis.yml, Makefile, requirements-dev.txt, test/Makefile,
test/bytecompile-tests, test/test_pythonlib.py,
uncompyle6/__init__.py, uncompyle6/opcodes/opcode_32.py,
uncompyle6/opcodes/opcode_33.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/scanner.py, uncompyle6/scanners/scanner32.py,
uncompyle6/scanners/scanner33.py, uncompyle6/scanners/scanner34.py,
uncompyle6/semantics/pysource.py: Fix up Python 3.2, 3.3, and 3.4
cross-version scanners Try travis 2.6 and 3.3
2015-12-26 rocky <rb@dustyfeet.com>
* .travis.yml: Travis: try checking 3.4
2015-12-26 rocky <rb@dustyfeet.com>
* test/simple_source/exception/05_try_except.py,
test/simple_source/looping/10_while.py,
test/simple_source/looping/while.py,
test/simple_source/simple_stmts/00_assign.py,
test/simple_source/simple_stmts/00_import.py,
test/simple_source/simple_stmts/00_pass.py,
test/simple_source/simple_stmts/15_assert.py,
test/simple_source/stmts/00_assign.py,
test/simple_source/stmts/00_import.py,
test/simple_source/stmts/00_pass.py,
test/simple_source/stmts/15_assert.py,
test/simple_source/stmts/15_for_if.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py,
uncompyle6/scanners/scanner32.py, uncompyle6/scanners/scanner34.py:
Fix up looping by reinstating JUMP_ABSOLUTE -> JUMP_BACK or CONTINUE
get jump offsets into jump attributes. Fix up 3.2 scanner paritally
and use that in 3.4 for in cross version disassembly.
2015-12-26 rocky <rb@dustyfeet.com>
* test/simple_source/exception/01_try_except.py,
test/simple_source/exception/05_try_except.py, uncompyle6/main.py,
uncompyle6/opcodes/opcode_34.py, uncompyle6/parsers/parse3.py,
uncompyle6/semantics/pysource.py: Python3 try/except handling
improvements. Add Walker exception and use that: fixes erroneous
uncompyle success message on parse error.
2015-12-25 rocky <rb@dustyfeet.com>
* test/simple_source/exception/01_try_except.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py: WIP redo
try/except for Python3
2015-12-25 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Fix bugs in using pysource from
fragments.
2015-12-25 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/Makefile, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Two modes of disassembly, one
where we show hidden code and one where we don't.
2015-12-25 rocky <rb@dustyfeet.com>
* README.rst: README.rst typos
2015-12-25 rocky <rb@dustyfeet.com>
* .gitignore, ChangeLog, MANIFEST.in, NEWS, __pkginfo__.py,
test/Makefile: Get ready for releaes 2.0.0
2015-12-25 rocky <rb@dustyfeet.com>
* pytest/test_deparse.py: Port deparse test from python-deparse to
py.test
2015-12-24 rocky <rb@dustyfeet.com>
* uncompyle6/parsers/parse3.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Remove Python3 class __qualname__
assignment. Change LOAD_NAME to LOAD_CLASSNAME to make parsing more
reliable and intentional.
2015-12-24 rocky <rb@dustyfeet.com>
* test/simple_source/def/01_class.py,
test/simple_source/exception/05_try_except.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Improve Python3 class definition
handling
2015-12-24 rocky <rb@dustyfeet.com>
* uncompyle6/verify.py: One more place for API change
2015-12-24 rocky <rb@dustyfeet.com>
* pytest/test_load.py, test/dis-compare.py, uncompyle6/disas.py,
uncompyle6/load.py, uncompyle6/main.py, uncompyle6/verify.py: Show
embeded timestamp of byte-decompiled file
2015-12-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py: Lint
2015-12-23 rocky <rb@dustyfeet.com>
* test/simple_source/exception/05_try_except.py,
uncompyle6/parsers/parse3.py: WIP: Python3 exceptions
2015-12-23 rocky <rb@dustyfeet.com>
* test/simple_source/simple_stmts/00_import.py,
test/simple_source/simple_stmts/00_pass.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
Start Python3 class(superclass) handling
2015-12-23 rocky <rb@dustyfeet.com>
* test/simple_source/def/01_class.py, uncompyle6/load.py,
uncompyle6/main.py, uncompyle6/parsers/parse2.py,
uncompyle6/semantics/pysource.py: parse2.py, pysource.py: add
buildclass nonterminal to structure tree better and make more
similar to Python3 load.py: handle magic errors better main.py:
correct use when passing a .py instead of a .pyc better and a
message err when file not found. pysource.py: fix up main
docstring; code moved from main.py
2015-12-23 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py: Add fragmnet offsets for 'from
x import..'
2015-12-22 rocky <rb@dustyfeet.com>
* uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py: Propogate offsets in imports.
Added a new %x format specifier.
2015-12-22 rocky <rb@dustyfeet.com>
* test/simple_source/def/01_class.py,
test/simple_source/def/02_def.py, test/simple_source/def/def0.py,
test/simple_source/def/def1.py, uncompyle6/__init__.py,
uncompyle6/opcodes/opcode_25.py, uncompyle6/opcodes/opcode_26.py,
uncompyle6/opcodes/opcode_27.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/parsers/astnode.py, uncompyle6/parsers/parse2.py,
uncompyle6/parsers/parse3.py, uncompyle6/parsers/spark.py,
uncompyle6/semantics/fragments.py, uncompyle6/semantics/pysource.py:
Allow comments in grammar rules. Start working on Python3 class (not
finished). More test organization.
2015-12-22 rocky <rb@dustyfeet.com>
* test/simple_source/def/01_class.py,
test/simple_source/def/10_class.py,
uncompyle6/opcodes/opcode_32.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/parsers/parse3.py: Remove Python2 buitin "print" from
Python3's grammr. Start class tests
2015-12-22 rocky <rb@dustyfeet.com>
* bin/uncompyle6, uncompyle6/main.py, uncompyle6/parser.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/spark.py,
uncompyle6/semantics/pysource.py: main.py, pysource.py DRY
deparse_code from main. Is better on showing exception errrors such
as when a pyc file is not found uncompyle6: Hook in --grammar option
to showing grammar. rules. Default now does not show timestamp.
2015-12-22 rocky <rb@dustyfeet.com>
* bin/uncompyle6, pytest/test_disasm.py,
pytest/testdata/if-2.7.right, pytest/testdata/ifelse-2.7.right,
test/Makefile, test/add-test.py,
test/simple_source/branching/05_if.py,
test/simple_source/branching/05_ifelse.py,
test/simple_source/branching/if.py,
test/simple_source/branching/ifelse.py,
test/simple_source/call_arguments/01_positional.py,
test/simple_source/call_arguments/10_keyword.py,
test/simple_source/call_arguments/keyword.py,
test/simple_source/call_arguments/positional.py,
test/simple_source/exception/20_try_except.py,
test/simple_source/exception/25_try_except.py,
test/simple_source/misc/assert.py,
test/simple_source/misc/assign_none.py,
test/simple_source/operation_logic/01_boolean.py,
test/simple_source/operation_logic/10_mixed_boolean.py,
test/simple_source/operation_logic/or.py,
test/simple_source/simple_stmts/15_assert.py,
test/simple_source/slice/01_slice.py,
test/simple_source/slice/02_slice.py, uncompyle6/main.py,
uncompyle6/parsers/parse3.py, uncompyle6/parsers/spark.py,
uncompyle6/semantics/pysource.py: Add spark option to show grammer.
Revise uncompyle options. Start to reorganize tests more
2015-12-21 rocky <rb@dustyfeet.com>
* README.rst: grammar
2015-12-21 rocky <rb@dustyfeet.com>
* README.rst: Add meat to CI tag
2015-12-21 rocky <rb@dustyfeet.com>
* README.rst: Use travis badge for now
2015-12-21 rocky <rb@dustyfeet.com>
* README.rst: Make README.rst reflect current situation better
2015-12-21 rocky <rb@dustyfeet.com>
* HISTORY.md, test/simple_source/README,
test/simple_source/exception/20_try_except.py,
test/simple_source/looping/10_for.py,
test/simple_source/looping/for.py, uncompyle6/main.py,
uncompyle6/opcodes/opcode_34.py, uncompyle6/parsers/spark.py,
uncompyle6/scanners/scanner34.py: Bug in for loop with try. Add more
of 2.7's COME_FROM statements. spark.py: add tracing reduce rules.
main: reduce cutsines. Start history
2015-12-21 rocky <rb@dustyfeet.com>
* test/bytecode_2.7/README, test/bytecode_3.2/README,
test/bytecode_3.4/README, test/bytecompile-tests,
test/simple_source/README,
test/simple_source/exception/01_try_except.py,
test/simple_source/misc/assign.py,
test/simple_source/misc/assign_none_str.py,
test/simple_source/simple_stmts/00_assign.py,
uncompyle6/parsers/parse3.py, uncompyle6/semantics/pysource.py:
Start Python3 execption handling
2015-12-21 rocky <rb@dustyfeet.com>
* test/simple-source/README, test/simple-source/branching/if.py,
test/simple-source/branching/ifelse.py,
test/simple-source/call_arguments/keyword.py,
test/simple-source/call_arguments/positional.py,
test/simple-source/comprehension/01-lc.py,
test/simple-source/comprehension/forelse.py,
test/simple-source/def/def0.py, test/simple-source/def/def1.py,
test/simple-source/looping/for.py,
test/simple-source/looping/while.py,
test/simple-source/misc/assert.py,
test/simple-source/misc/assign.py,
test/simple-source/misc/assign_none.py,
test/simple-source/misc/assign_none_str.py,
test/simple-source/operation_binary/add.py,
test/simple-source/operation_binary/and.py,
test/simple-source/operation_binary/divide_floor.py,
test/simple-source/operation_binary/divide_true.py,
test/simple-source/operation_binary/modulo.py,
test/simple-source/operation_binary/multiply.py,
test/simple-source/operation_binary/or.py,
test/simple-source/operation_binary/power.py,
test/simple-source/operation_binary/shift_left.py,
test/simple-source/operation_binary/shift_right.py,
test/simple-source/operation_binary/subscription.py,
test/simple-source/operation_binary/subtract.py,
test/simple-source/operation_binary/xor.py,
test/simple-source/operation_comparison/equal.py,
test/simple-source/operation_comparison/greater.py,
test/simple-source/operation_comparison/greater_equal.py,
test/simple-source/operation_comparison/less.py,
test/simple-source/operation_comparison/less_equal.py,
test/simple-source/operation_comparison/notequal.py,
test/simple-source/operation_inplace/add.py,
test/simple-source/operation_inplace/and.py,
test/simple-source/operation_inplace/divide_floor.py,
test/simple-source/operation_inplace/divide_true.py,
test/simple-source/operation_inplace/modulo.py,
test/simple-source/operation_inplace/multiply.py,
test/simple-source/operation_inplace/or.py,
test/simple-source/operation_inplace/power.py,
test/simple-source/operation_inplace/shift_left.py,
test/simple-source/operation_inplace/shift_right.py,
test/simple-source/operation_inplace/subtract.py,
test/simple-source/operation_inplace/xor.py,
test/simple-source/operation_logic/and.py,
test/simple-source/operation_logic/complex1.py,
test/simple-source/operation_logic/complex2.py,
test/simple-source/operation_logic/complex3.py,
test/simple-source/precedence/left.py,
test/simple-source/precedence/right.py,
test/simple-source/precedence/structure.py,
test/simple-source/slice/01-slice.py, test/simple_source/README,
test/simple_source/branching/if.py,
test/simple_source/branching/ifelse.py,
test/simple_source/call_arguments/keyword.py,
test/simple_source/call_arguments/positional.py,
test/simple_source/comprehension/01_list_comprehension.py,
test/simple_source/comprehension/forelse.py,
test/simple_source/def/def0.py, test/simple_source/def/def1.py,
test/simple_source/exception/01_try_except.py,
test/simple_source/looping/for.py,
test/simple_source/looping/while.py,
test/simple_source/misc/assert.py,
test/simple_source/misc/assign.py,
test/simple_source/misc/assign_none.py,
test/simple_source/misc/assign_none_str.py,
test/simple_source/operation_binary/add.py,
test/simple_source/operation_binary/and.py,
test/simple_source/operation_binary/divide_floor.py,
test/simple_source/operation_binary/divide_true.py,
test/simple_source/operation_binary/modulo.py,
test/simple_source/operation_binary/multiply.py,
test/simple_source/operation_binary/or.py,
test/simple_source/operation_binary/power.py,
test/simple_source/operation_binary/shift_left.py,
test/simple_source/operation_binary/shift_right.py,
test/simple_source/operation_binary/subscription.py,
test/simple_source/operation_binary/subtract.py,
test/simple_source/operation_binary/xor.py,
test/simple_source/operation_comparison/equal.py,
test/simple_source/operation_comparison/greater.py,
test/simple_source/operation_comparison/greater_equal.py,
test/simple_source/operation_comparison/less.py,
test/simple_source/operation_comparison/less_equal.py,
test/simple_source/operation_comparison/notequal.py,
test/simple_source/operation_inplace/add.py,
test/simple_source/operation_inplace/and.py,
test/simple_source/operation_inplace/divide_floor.py,
test/simple_source/operation_inplace/divide_true.py,
test/simple_source/operation_inplace/modulo.py,
test/simple_source/operation_inplace/multiply.py,
test/simple_source/operation_inplace/or.py,
test/simple_source/operation_inplace/power.py,
test/simple_source/operation_inplace/shift_left.py,
test/simple_source/operation_inplace/shift_right.py,
test/simple_source/operation_inplace/subtract.py,
test/simple_source/operation_inplace/xor.py,
test/simple_source/operation_logic/or.py,
test/simple_source/operation_unary/invert.py,
test/simple_source/operation_unary/iter.py,
test/simple_source/operation_unary/negative.py,
test/simple_source/operation_unary/not.py,
test/simple_source/operation_unary/positive.py,
test/simple_source/precedence/left.py,
test/simple_source/precedence/right.py,
test/simple_source/precedence/structure.py,
test/simple_source/slice/01_slice.py: Regularize test names.
2015-12-21 rocky <rb@dustyfeet.com>
* test/Makefile, test/simple-source/slice/01-slice.py,
uncompyle6/opcodes/opcode_32.py, uncompyle6/opcodes/opcode_34.py,
uncompyle6/parsers/astnode.py, uncompyle6/parsers/parse3.py,
uncompyle6/scanner.py, uncompyle6/scanners/tok.py,
uncompyle6/semantics/pysource.py: Start Python3 slices. Split off
token routine.
2015-12-21 rocky <rb@dustyfeet.com>
* uncompyle6/__init__.py, uncompyle6/marsh.py,
uncompyle6/parsers/parse2.py, uncompyle6/parsers/parse3.py: Start
slice and build list on Python3. Do sanity check on marshal load of
code.
2015-12-20 rocky <rb@dustyfeet.com>
* Makefile, bin/uncompyle6, pytest/test_load.py, test/Makefile,
test/test_pythonlib.py, uncompyle6/__init__.py,
uncompyle6/deparser.py, uncompyle6/disas.py, uncompyle6/load.py,
uncompyle6/main.py, uncompyle6/semantics/__init__.py,
uncompyle6/semantics/fragments.py,
uncompyle6/semantics/pysource.py, uncompyle6/verify.py,
uncompyle6/walker.py: Part of a much needed cleanup. Move semantics
routines into its own directory. Move out lots of stuff from
__init__ to their own files. Add file loading tests. Document AST