[Python-Dev] importlib is now bootstrapped (and what that means)
Stefan Behnel
stefan_ml at behnel.de
Tue Apr 17 07:12:18 CEST 2012
Antoine Pitrou, 17.04.2012 02:27:
> On Tue, 17 Apr 2012 01:11:14 +0200
> Georg Brandl wrote:
>> No, it's not just an existing Python, it is (at least currently) the same
>> version of Python being built. Therefore I wrote about the bootstrapping
>> problems when bytecode changes.
>>
>> Depending on Cython is better in that it breaks the bootstrapping cycle,
>> but on the other hand the C code may need to be regenerated when the C API
>> changes in an incompatible way.
>
> Cython OTOH probably needs Python 2.x, which isn't that great for
> building Python 3.
It uses 2to3 at install time, so you get a Py3 version out of it. No need
to have Py2 installed in order to use it.
> And requiring Cython for developing is not very
> contributor-friendly.
Brett Cannon answered that one. If you ship the C sources, developers will
only be impacted when they want to modify source code that gets compiled
with Cython.
Stefan
More information about the Python-Dev
mailing list