]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-41006: collections imports lazily heap (GH-20940)
authorVictor Stinner <vstinner@python.org>
Wed, 17 Jun 2020 17:10:47 +0000 (19:10 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Jun 2020 17:10:47 +0000 (19:10 +0200)
commit7824cc05bfe7f8181b21848a52007ddaf5612b9b
tree27139e642b2e07807a5ff6a9194ea1c6762247e5
parentbb6ec14479f18c32e71e43f2785f177aa17aabbd
bpo-41006: collections imports lazily heap (GH-20940)

The collections module now imports lazily the heapq modules in the
Counter.most_common() method to speedup Python startup time.
Lib/collections/__init__.py