dummy_thread.acquire() would return None if no waitflag argument was given. It
should have returned True.

Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
3 files changed