Skip to content
Why a script that uses threads prints extra lines occasionally in Python?
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore
README.md
example.py
setup.py
test_thread_print.py
tox.ini

README.md

Test which version of python prints extra lines while using threading.

To reproduce, clone the repo:

$ git clone git://github.com/zed/test_thread_print.git

Or download tarball:

$ wget -O test_thread_print.tar.gz https://github.com/zed/test_thread_print/tarball/master

And run:

$ tox

To install tox, run:

$ pip install tox

Note: if you don't have pythonX.Y in your path then just remove pyXY from the tox.ini.

Something went wrong with that request. Please try again.