Created
October 15, 2015 15:15
-
-
Save NightBlues/d0b4c464b618ba45bd59 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import uuid | |
import multiprocessing | |
import pwquality | |
pwq = pwquality.PWQSettings() | |
def check(i): | |
uuid_ = str(uuid.uuid4()) | |
try: | |
pwq.check(uuid_) | |
except: | |
print i, uuid_ | |
raise | |
p = multiprocessing.Pool(5) | |
p.map(check, xrange(1000000)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment