[Python-Dev] C extension import time

Stefan Krah stefan at bytereef.org
Fri Oct 11 14:32:32 CEST 2013


Stefan Krah <stefan at bytereef.org> wrote:
> import sys
> 
> for i in range(10000):
>     import decimal
>     del sys.modules('decimal')
>     del sys.modules('_decimal')
                    ^^^

This happens when a Linux user is forced to use Putty :(




More information about the Python-Dev mailing list