为什么编译器包在Python 3中停止? [英] Why is the compiler package discontinued in Python 3?

查看:147
本文介绍了为什么编译器包在Python 3中停止?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是惊喜地发现了 Python的编译器包的文档,但注意到了它已经在Python 3.0,没有任何明确的替换或解释。

I was just pleasantly surprised to came across the documentation of Python's compiler package, but noticed that it's gone in Python 3.0, without any clear replacement or explanation.

我似乎没有找到任何关于python-dev的讨论如何做出这个决定 -

I can't seem to find any discussion on python-dev about how this decision was made - does anyone have any insight inot this decision?

推荐答案

我相信功能现在内置于:

I believe the functionality is now built in:

  • compile
  • ast

这篇关于为什么编译器包在Python 3中停止?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆