ostep-homework icon indicating copy to clipboard operation
ostep-homework copied to clipboard

Fixed `x86.py -S` printstats compatibility bugs in both Python 2 AND 3

Open theshteves opened this issue 10 months ago • 1 comments

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

theshteves avatar Mar 31 '24 20:03 theshteves

Any way I can help, @remzi-arpacidusseau?

theshteves avatar May 01 '24 07:05 theshteves