add threading lock
Merge branch 'gh-pages' of https://github.com/SteelyWing/Python-Quick-Reference into gh-pages