Pending removal in Python 3.13¶
Modules (see PEP 594):
aifcaudioopcgicgitbchunkcryptimghdrmailcapmsilibnisnntplibossaudiodevpipessndhdrspwdsunautelnetlibuuxdrlib
Other modules:
lib2to3, and the 2to3 program (gh-84540)
APIs:
configparser.LegacyInterpolation(gh-90765)locale.resetlocale()(gh-90817)turtle.RawTurtle.settiltangle()(gh-50096)unittest.findTestCases()(gh-50096)unittest.getTestCaseNames()(gh-50096)unittest.makeSuite()(gh-50096)unittest.TestProgram.usageExit()(gh-67048)webbrowser.MacOSX(gh-86421)classmethoddescriptor chaining (gh-89519)importlib.resourcesdeprecated methods:contents()is_resource()open_binary()open_text()path()read_binary()read_text()
Use
importlib.resources.files()instead. Refer to importlib-resources: Migrating from Legacy (gh-106531)