gdb libpython.py: Remove compatibility code (#105739)
Remove compatibility code for Python 2 and early Python 3 versions. * Remove os_fsencode() reimplementation: use os.fsencode() directly. os.fsencode() was added to Python 3.2. * Remove references to Python 2 and "Python 3": just say "Python". * Remove outdated u'' string format: use '' instead.
V
Victor Stinner committed
03160630319ca26dcbbad65225da4248e54c45ec
Parent: e5d45b7
Committed by GitHub <noreply@github.com>
on 6/14/2023, 10:30:22 AM