Skip to content

Commit 4c90e86

Browse files
author
Dorian Birraux
committed
Minor rephrasing in pool code
1 parent d3c8417 commit 4c90e86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolframclient/evaluation/pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ async def _kernel_loop(self, kernel):
122122
break
123123
# func is one of the evaluate* methods from WolframAsyncEvaluator.
124124
future, func, args, kwargs = task
125-
# those method can't be cancelled since the kernel is evaluating anyway.
125+
# these methods can't be cancelled since the kernel is evaluating anyway.
126126
try:
127127
func = getattr(kernel, func)
128128
result = await asyncio.shield(func(*args, **kwargs))
@@ -169,7 +169,7 @@ async def _async_start_kernel(self, kernel):
169169
)
170170
await kernel.stop()
171171
except asyncio.CancelledError:
172-
logger.info("Cancelled signal.")
172+
logger.info("Cancelled signal during kernel termination following a failed start.")
173173
except Exception as e2:
174174
logger.info("Exception raised during clean-up after failed start: %s", e2)
175175

0 commit comments

Comments
 (0)