diff options
| author | Brad Solomon <brad.solomon.1124@gmail.com> | 2019-05-21 21:36:56 -0400 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2019-05-22 06:55:21 +0200 |
| commit | 28eac41510eb9de728bdfbc22a36f33ac75394f2 (patch) | |
| tree | 9b58811c30fdfd7da5c974572d35762b878556c8 /tests/utils_tests/test_functional.py | |
| parent | f011d9ea56f9b4385cc7c63c542b7403fef2fde1 (diff) | |
Improved performance of loading common passwords in CommonPasswordValidator.
CommonPasswordValidator.__init__ previously called either splitlines or
readlines, creating an unneeded intermediate list in memory. For large
custom password files, this could be burdensome.
Diffstat (limited to 'tests/utils_tests/test_functional.py')
0 files changed, 0 insertions, 0 deletions
