This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients Claudiu.Popa, Florian.Apolloner, Zbynek.Winkler, ashkop, eric.snow, ezio.melotti, methane, michael.foord, pconnell, rbcollins, rgammans
Date 2020-07-19.03:38:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595129883.95.0.486350546596.issue23882@roundup.psfhosted.org>
In-reply-to
Content
I had rejected this idea in #29642. This is a copy of my comments in the issue.

---

I'm afraid this change makes testloader searches unrelated directory contains massive files (like node_modules).

I don't think loading all tests from whole namespace package is not usual use case.

When using import, (namespace) package name is explicitly specified.
Only specified name is searched.

In test loader's case, there are no such limit.
Loader may search millions of completely unrelated directories.
It may include directories in NFS or samba over slow network.
History
Date User Action Args
2020-07-19 03:38:04methanesetrecipients: + methane, rbcollins, ezio.melotti, michael.foord, rgammans, Claudiu.Popa, Zbynek.Winkler, eric.snow, pconnell, Florian.Apolloner, ashkop
2020-07-19 03:38:03methanesetmessageid: <1595129883.95.0.486350546596.issue23882@roundup.psfhosted.org>
2020-07-19 03:38:03methanelinkissue23882 messages
2020-07-19 03:38:03methanecreate