ordered
ordered copied to clipboard
Entropy-controlled contexts in Python
Fails to solve bottles problem correctly and triggers assert This is upstream issue with HyperC Ticket is left here for tracking purposes
See test file at tests/test_global_var.py ```python import ordered import pytest x = 0 def inc(): global x x += 1 def run_inc(): global x with ordered.orderedcontext(): while x != 1:...
In this situation: ```python import pytest, gc import ordered, random __author__ = "Andrew Gree" __copyright__ = "CriticalHop Inc." __license__ = "MIT" class MyVars: x: int steps: int def __init__(self) ->...