mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2024-10-07 10:13:39 +00:00
8c94acfca0
changed slightly. misc small bugs.
76 lines
2.6 KiB
Plaintext
76 lines
2.6 KiB
Plaintext
# Python 2.5
|
|
# Embedded file name: test_import.py
|
|
|
|
9 0 LOAD_CONST '\ntest_import.py -- source test pattern for import statements\n\nThis source is part of the decompyle test suite.\n\ndecompyle is a Python byte-code decompiler\nSee http://www.goebel-consult.de/decompyle/ for download and\nfor further information\n'
|
|
3 STORE_NAME '__doc__'
|
|
|
|
11 6 LOAD_CONST -1
|
|
9 LOAD_CONST ''
|
|
12 IMPORT_NAME 'sys'
|
|
15 STORE_NAME 'sys'
|
|
|
|
12 18 LOAD_CONST -1
|
|
21 LOAD_CONST ''
|
|
24 IMPORT_NAME 'os'
|
|
27 STORE_NAME 'os'
|
|
30 LOAD_CONST -1
|
|
33 LOAD_CONST ''
|
|
36 IMPORT_NAME_CONT 'sys'
|
|
39 STORE_NAME 'sys'
|
|
42 LOAD_CONST -1
|
|
45 LOAD_CONST ''
|
|
48 IMPORT_NAME_CONT 'BaseHTTPServer'
|
|
51 STORE_NAME 'BaseHTTPServer'
|
|
|
|
14 54 LOAD_CONST -1
|
|
57 LOAD_CONST ''
|
|
60 IMPORT_NAME 'test.test_MimeWriter'
|
|
63 STORE_NAME 'test'
|
|
|
|
16 66 LOAD_CONST -1
|
|
69 LOAD_CONST ('Message',)
|
|
72 IMPORT_NAME 'rfc822'
|
|
75 IMPORT_FROM 'Message'
|
|
78 STORE_NAME 'Message'
|
|
81 POP_TOP ''
|
|
|
|
17 82 LOAD_CONST -1
|
|
85 LOAD_CONST ('Message', 'decode', 'choose_boundary')
|
|
88 IMPORT_NAME 'mimetools'
|
|
91 IMPORT_FROM 'Message'
|
|
94 STORE_NAME 'Message'
|
|
97 IMPORT_FROM 'decode'
|
|
100 STORE_NAME 'decode'
|
|
103 IMPORT_FROM 'choose_boundary'
|
|
106 STORE_NAME 'choose_boundary'
|
|
109 POP_TOP ''
|
|
|
|
18 110 LOAD_CONST -1
|
|
113 LOAD_CONST ('*',)
|
|
116 IMPORT_NAME 'os'
|
|
119 IMPORT_STAR ''
|
|
|
|
20 120 SETUP_LOOP '162'
|
|
123 LOAD_NAME 'globals'
|
|
126 CALL_FUNCTION_0 ''
|
|
129 LOAD_ATTR 'items'
|
|
132 CALL_FUNCTION_0 ''
|
|
135 GET_ITER ''
|
|
136 FOR_ITER '161'
|
|
139 UNPACK_SEQUENCE_2 ''
|
|
142 STORE_NAME 'k'
|
|
145 STORE_NAME 'v'
|
|
|
|
21 148 LOAD_NAME 'k'
|
|
151 UNARY_CONVERT ''
|
|
152 PRINT_ITEM ''
|
|
153 LOAD_NAME 'v'
|
|
156 PRINT_ITEM_CONT ''
|
|
157 PRINT_NEWLINE_CONT ''
|
|
158 JUMP_BACK '136'
|
|
161 POP_BLOCK ''
|
|
162_0 COME_FROM '120'
|
|
162 LOAD_CONST ''
|
|
165 RETURN_VALUE ''
|
|
|