langfun 0.0.2.dev20240702__py3-none-any.whl → 0.0.2.dev20240704__py3-none-any.whl
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.
- langfun/core/coding/python/execution.py +3 -1
- {langfun-0.0.2.dev20240702.dist-info → langfun-0.0.2.dev20240704.dist-info}/METADATA +1 -1
- {langfun-0.0.2.dev20240702.dist-info → langfun-0.0.2.dev20240704.dist-info}/RECORD +6 -6
- {langfun-0.0.2.dev20240702.dist-info → langfun-0.0.2.dev20240704.dist-info}/LICENSE +0 -0
- {langfun-0.0.2.dev20240702.dist-info → langfun-0.0.2.dev20240704.dist-info}/WHEEL +0 -0
- {langfun-0.0.2.dev20240702.dist-info → langfun-0.0.2.dev20240704.dist-info}/top_level.txt +0 -0
@@ -196,7 +196,9 @@ def sandbox_call(
|
|
196
196
|
p.start()
|
197
197
|
p.join(timeout=timeout)
|
198
198
|
if p.is_alive():
|
199
|
-
|
199
|
+
# We use `kill` instead of `terminate` to release process resources
|
200
|
+
# right away.
|
201
|
+
p.kill()
|
200
202
|
raise TimeoutError(f'Execution time exceed {timeout} seconds.')
|
201
203
|
x = q.get()
|
202
204
|
if isinstance(x, Exception):
|
@@ -35,7 +35,7 @@ langfun/core/coding/python/correction.py,sha256=a2aFUt9ocbXTCR6Z6OGNjQZDI1LfU0PB
|
|
35
35
|
langfun/core/coding/python/correction_test.py,sha256=yLqmQ9BPORsnREkrS10PnljEaLR3BoydTVeT3OGoqfU,3507
|
36
36
|
langfun/core/coding/python/errors.py,sha256=fX3Du63uGm25YFXW9D-bV2gntTdTAX3hBFtAnRlmg14,3166
|
37
37
|
langfun/core/coding/python/errors_test.py,sha256=_ZbWJCFIb-FkCK7K1zCuH8W3x_NFt-jNe3dfP8yqaD4,2323
|
38
|
-
langfun/core/coding/python/execution.py,sha256=
|
38
|
+
langfun/core/coding/python/execution.py,sha256=raZix62g2fwt6Lgykll2DFzkLlEjVqN9E73q0iaVdak,10185
|
39
39
|
langfun/core/coding/python/execution_test.py,sha256=lExY6GMLeuCsCKXgM2KbAPJ6kqSlfHmz3RG0-dqfVcI,7197
|
40
40
|
langfun/core/coding/python/generation.py,sha256=xivSeOKGN00HnG1TLuFhPfP-JyRuRrSELxVJW2ngqIQ,7750
|
41
41
|
langfun/core/coding/python/generation_test.py,sha256=54bgKr1DgzYFLoqR8bTn7Yjol0gPCuR6XvRltR4l6YM,2777
|
@@ -117,8 +117,8 @@ langfun/core/templates/demonstration.py,sha256=vCrgYubdZM5Umqcgp8NUVGXgr4P_c-fik
|
|
117
117
|
langfun/core/templates/demonstration_test.py,sha256=SafcDQ0WgI7pw05EmPI2S4v1t3ABKzup8jReCljHeK4,2162
|
118
118
|
langfun/core/templates/selfplay.py,sha256=yhgrJbiYwq47TgzThmHrDQTF4nDrTI09CWGhuQPNv-s,2273
|
119
119
|
langfun/core/templates/selfplay_test.py,sha256=rBW2Qr8yi-aWYwoTwRR-n1peKyMX9QXPZXURjLgoiRs,2264
|
120
|
-
langfun-0.0.2.
|
121
|
-
langfun-0.0.2.
|
122
|
-
langfun-0.0.2.
|
123
|
-
langfun-0.0.2.
|
124
|
-
langfun-0.0.2.
|
120
|
+
langfun-0.0.2.dev20240704.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
121
|
+
langfun-0.0.2.dev20240704.dist-info/METADATA,sha256=xYTw0FN1e34vPqsCjI6q0hFHLjQn2CLJTTWGqsSIiwI,3550
|
122
|
+
langfun-0.0.2.dev20240704.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
123
|
+
langfun-0.0.2.dev20240704.dist-info/top_level.txt,sha256=RhlEkHxs1qtzmmtWSwYoLVJAc1YrbPtxQ52uh8Z9VvY,8
|
124
|
+
langfun-0.0.2.dev20240704.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|