ostep-homework
ostep-homework copied to clipboard
Fixed `x86.py -S` printstats compatibility bugs in both Python 2 AND 3
The Problem
x86.py -S
errors out in Python 2.7 (which executes under most system defaults for #! /usr/bin/env python
). I discovered this on a relatively clean build of macOS Sonoma 14.4
in the Terminal.app
.
My Solution
-
fixed both
x86.py
implementations (tested in both Python 2.7 & Python 3.12) - included links to relevant version-specific documentation
Any way I can help, @remzi-arpacidusseau?