Port any relevant changes in https://github.com/sillsdev/machine.py/pull/315 from machine.py to machine. <!-- AUTO-GENERATED-ISSUE -->
Port any relevant changes in sillsdev/machine.py#315 from machine.py to machine.