Antoine Pitrou added the comment: This change is actually an optimization. The directory is only read once and its contents are then cached, which allows for much quicker imports when multiple modules are in the directory (common case of a Python package).
Can you tell us more about your setup? - how many files are in the directory - what filesystem is used - whether the filesystem is local or remote (e.g. network-attached) - your OS and OS version Also, how long is "very slowly"? ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com