Ich versuche, eine Codebasis zu portieren, die das "Compiler" -Modul von 2.x über 3.1 verwendet; Ich erhalte einen ImportError um"Compiler" Modul py3k
import compiler
als das Modul nicht in Python3.x vorhanden ist; Wurde die gleiche Funktionalität in ein anderes Modul innerhalb der Standardbibliothek integriert? Oder wurde es komplett entfernt?
[EDIT] I erfordern ein Äquivalent für compiler.parse.getChildren
in Py3k.
Ähnlich, obwohl nicht identisch mit: http://stackoverflow.com/questions/909092/why-is-the-compiler-package-discontinued-in-python-3 –