[New-bugs-announce] [issue23916] module importing performance regression

David Roundy report at bugs.python.org
Sat Apr 11 22:07:34 CEST 2015

New submission from David Roundy:

I have observed a performance regression in module importing.  In python 3.4.2, importing a module from the current directory (where the script is located) causes the entire directory to be read.  When there are many files in this directory, this can cause the script to run very slowly.

In python 2.7.9, this behavior is not present.

It would be preferable (in my opinion) to revert the change that causes python to read the entire user directory.

messages: 240491
nosy: daveroundy
priority: normal
severity: normal
status: open
title: module importing performance regression
versions: Python 3.4

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list