commit | 03160630319ca26dcbbad65225da4248e54c45ec | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Wed Jun 14 12:30:22 2023 +0200 |
committer | GitHub <noreply@github.com> | Wed Jun 14 12:30:22 2023 +0200 |
tree | 2f754836fcad1777c046170e7d5d7cde466bb4ba | |
parent | e5d45b7444733861153d6e8959c34323fd361322 [diff] |
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.