[Nix-dev] Python: a bit fatter interpreter

Freddy Rietdijk freddyrietdijk at fridh.nl
Wed Oct 26 18:03:48 CEST 2016


> What's the impact on the Python closure size?

The closure size of `python27` went up from 79 MB at 16.09 to 107 MB on
stable, and that of `python35` down from 138 MB to 120 MB (because
`tkinter` was moved out). Therefore, when we make the switch to Python 3
the closure size will go up a net 41 MB while at the same time the amount
of headaches will be reduced significantly.

On Wed, Oct 26, 2016 at 5:43 PM, Eelco Dolstra <eelco.dolstra at logicblox.com>
wrote:

> Hi,
>
> On 10/26/2016 04:36 PM, Freddy Rietdijk wrote:
>
> > Today I merged staging into master, and this brings some changes to
> CPython.
> > Of importance is that the different versions of the interpreter now come
> with
> > the whole standard library, except for tkinter. This module can be found
> at
> > pythonPackages.tkinter. Therefore, if you get evaluation errors that the
> > attributes readline or sqlite3 or one of the others is missing, then
> this is why.
>
> What's the impact on the Python closure size?
>
> --
> Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161026/098b4bff/attachment.html>


More information about the nix-dev mailing list