obstruct 0.2.7__tar.gz → 0.2.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/workspace.xml +67 -25
- {obstruct-0.2.7 → obstruct-0.2.9}/PKG-INFO +1 -1
- obstruct-0.2.9/src/obstruct/__version__.py +1 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/aot/unpack.py +5 -5
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/struct_type.py +1 -1
- {obstruct-0.2.7 → obstruct-0.2.9}/test/test_speed.py +0 -2
- obstruct-0.2.7/src/obstruct/__version__.py +0 -1
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/.gitignore +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/inspectionProfiles/Project_Default.xml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/misc.xml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/modules.xml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/obstruct.iml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/.idea/vcs.xml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/README.md +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/pyproject.toml +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/__init__.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/aot/__init__.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/aot/aot.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/aot/base.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/aot/pack.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/methods.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/types/__init__.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/types/base.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/types/types.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/src/obstruct/types/types.pyi +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/test/test.py +0 -0
- {obstruct-0.2.7 → obstruct-0.2.9}/uv.lock +0 -0
|
@@ -4,10 +4,7 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="b482b6b4-48ce-4be1-bf3c-a72ec254fa35" name="更改" comment="
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/obstruct/__version__.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/obstruct/__version__.py" afterDir="false" />
|
|
9
|
-
<change beforePath="$PROJECT_DIR$/src/obstruct/struct_type.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/obstruct/struct_type.py" afterDir="false" />
|
|
10
|
-
</list>
|
|
7
|
+
<list default="true" id="b482b6b4-48ce-4be1-bf3c-a72ec254fa35" name="更改" comment="chore: 移除 test_speed.py 中的调试逻辑" />
|
|
11
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
9
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
13
10
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -44,26 +41,26 @@
|
|
|
44
41
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
45
42
|
<option name="showLibraryContents" value="true" />
|
|
46
43
|
</component>
|
|
47
|
-
<component name="PropertiesComponent"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
44
|
+
<component name="PropertiesComponent">{
|
|
45
|
+
"keyToString": {
|
|
46
|
+
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
|
47
|
+
"Python.test.executor": "Run",
|
|
48
|
+
"Python.test_speed.executor": "Run",
|
|
49
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
50
|
+
"RunOnceActivity.git.unshallow": "true",
|
|
51
|
+
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
|
|
52
|
+
"codeWithMe.voiceChat.enabledByDefault": "false",
|
|
53
|
+
"git-widget-placeholder": "main",
|
|
54
|
+
"last_opened_file_path": "E:/.projects/obstruct",
|
|
55
|
+
"node.js.detected.package.eslint": "true",
|
|
56
|
+
"node.js.detected.package.jshint": "true",
|
|
57
|
+
"node.js.detected.package.tslint": "true",
|
|
58
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
59
|
+
"node.js.selected.package.jshint": "",
|
|
60
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
61
|
+
"nodejs_package_manager_path": "npm"
|
|
65
62
|
}
|
|
66
|
-
}
|
|
63
|
+
}</component>
|
|
67
64
|
<component name="RunManager" selected="Python.test_speed">
|
|
68
65
|
<configuration name="test" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
|
|
69
66
|
<module name="obstruct" />
|
|
@@ -183,7 +180,47 @@
|
|
|
183
180
|
<option name="project" value="LOCAL" />
|
|
184
181
|
<updated>1786883898686</updated>
|
|
185
182
|
</task>
|
|
186
|
-
<
|
|
183
|
+
<task id="LOCAL-00007" summary="修复:不参与初始化方法的属性不应作为结构体的字段">
|
|
184
|
+
<option name="closed" value="true" />
|
|
185
|
+
<created>1786884236136</created>
|
|
186
|
+
<option name="number" value="00007" />
|
|
187
|
+
<option name="presentableId" value="LOCAL-00007" />
|
|
188
|
+
<option name="project" value="LOCAL" />
|
|
189
|
+
<updated>1786884236136</updated>
|
|
190
|
+
</task>
|
|
191
|
+
<task id="LOCAL-00008" summary="功能:添加 `compile_struct` 函数,透明编译过程">
|
|
192
|
+
<option name="closed" value="true" />
|
|
193
|
+
<created>1786884539584</created>
|
|
194
|
+
<option name="number" value="00008" />
|
|
195
|
+
<option name="presentableId" value="LOCAL-00008" />
|
|
196
|
+
<option name="project" value="LOCAL" />
|
|
197
|
+
<updated>1786884539584</updated>
|
|
198
|
+
</task>
|
|
199
|
+
<task id="LOCAL-00009" summary="修复:unpack.py 中没有移除的调试逻辑">
|
|
200
|
+
<option name="closed" value="true" />
|
|
201
|
+
<created>1786884559640</created>
|
|
202
|
+
<option name="number" value="00009" />
|
|
203
|
+
<option name="presentableId" value="LOCAL-00009" />
|
|
204
|
+
<option name="project" value="LOCAL" />
|
|
205
|
+
<updated>1786884559640</updated>
|
|
206
|
+
</task>
|
|
207
|
+
<task id="LOCAL-00010" summary="修复:unpack.py 中没有移除的调试逻辑">
|
|
208
|
+
<option name="closed" value="true" />
|
|
209
|
+
<created>1786884576538</created>
|
|
210
|
+
<option name="number" value="00010" />
|
|
211
|
+
<option name="presentableId" value="LOCAL-00010" />
|
|
212
|
+
<option name="project" value="LOCAL" />
|
|
213
|
+
<updated>1786884576538</updated>
|
|
214
|
+
</task>
|
|
215
|
+
<task id="LOCAL-00011" summary="chore: 移除 test_speed.py 中的调试逻辑">
|
|
216
|
+
<option name="closed" value="true" />
|
|
217
|
+
<created>1786884643125</created>
|
|
218
|
+
<option name="number" value="00011" />
|
|
219
|
+
<option name="presentableId" value="LOCAL-00011" />
|
|
220
|
+
<option name="project" value="LOCAL" />
|
|
221
|
+
<updated>1786884643125</updated>
|
|
222
|
+
</task>
|
|
223
|
+
<option name="localTasksCounter" value="12" />
|
|
187
224
|
<servers />
|
|
188
225
|
</component>
|
|
189
226
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -207,6 +244,11 @@
|
|
|
207
244
|
<MESSAGE value="修正了一些命名" />
|
|
208
245
|
<MESSAGE value="增强 array 类型的支持" />
|
|
209
246
|
<MESSAGE value="增强 array 类型的支持 x2" />
|
|
210
|
-
<
|
|
247
|
+
<MESSAGE value="修复:不参与初始化方法的属性不应作为结构体的字段" />
|
|
248
|
+
<MESSAGE value="功能:添加 `compile_struct` 函数,透明编译过程" />
|
|
249
|
+
<MESSAGE value="修复:unpack.py 中没有移除的调试逻辑" />
|
|
250
|
+
<MESSAGE value="修复:unpack.py 中没有移除的调试逻辑 更新版本号至 0.2.8" />
|
|
251
|
+
<MESSAGE value="chore: 移除 test_speed.py 中的调试逻辑" />
|
|
252
|
+
<option name="LAST_COMMIT_MESSAGE" value="chore: 移除 test_speed.py 中的调试逻辑" />
|
|
211
253
|
</component>
|
|
212
254
|
</project>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version = "0.2.9"
|
|
@@ -157,11 +157,11 @@ def create_unpack_methods(cls: type[struct_type.Struct]):
|
|
|
157
157
|
iter_update_inner.add_code(f'{n}.clear()')
|
|
158
158
|
|
|
159
159
|
# print(unpack.generate_code())
|
|
160
|
-
print(update.generate_code())
|
|
161
|
-
print(unpack_from.generate_code())
|
|
162
|
-
print(update_from.generate_code())
|
|
163
|
-
print(iter_unpack.generate_code())
|
|
164
|
-
print(iter_update.generate_code())
|
|
160
|
+
# print(update.generate_code())
|
|
161
|
+
# print(unpack_from.generate_code())
|
|
162
|
+
# print(update_from.generate_code())
|
|
163
|
+
# print(iter_unpack.generate_code())
|
|
164
|
+
# print(iter_update.generate_code())
|
|
165
165
|
|
|
166
166
|
globals = {
|
|
167
167
|
v: k for k, v in inner_classes.items() # 翻转字典
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
version = "0.2.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|