Adding Mitogen plugin and strategy.

This commit is contained in:
2026-04-09 19:51:43 -04:00
parent a85f7f50e9
commit 3ae80ef3bb
115 changed files with 26212 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
"""
I am a plain old module with no interesting dependencies or import machinery
fiddlery.
"""
import math
class MyError(Exception):
pass
def get_sentinel_value():
# Some proof we're even talking to the mitogen-test Docker image
f = open('/etc/sentinel', 'rb')
try:
value = f.read().decode()
finally:
f.close()
return value
def add(x, y):
return x + y
def pow(x, y):
return x ** y